[Baypiggies] New python installation can't overwrite the system python.
bdbaddog at gmail.com
Wed Sep 22 07:19:14 CEST 2010
You need to use:
setenv and not set in csh or tcsh
On Tue, Sep 21, 2010 at 10:15 PM, Yiou Li <liyiou at gmail.com> wrote:
> I tried that, doesn't update the python path either.
> On Tue, Sep 21, 2010 at 10:13 PM, William Deegan <bdbaddog at gmail.com>
> > Leo,
> > Why not just
> > export PATH=PATH_TO_YOUR_PYTHON:$PATH ?
> > -Bill
> > On Tue, Sep 21, 2010 at 10:10 PM, Yiou Li <liyiou at gmail.com> wrote:
> >> Hi all,
> >> I installed a Python2.7 on my home directory in a Redhat Linux system.
> >> Then I tried to get rid of the system default path to python at
> >> '/usr/bin' --- I did this by set PATH="" in my .cshrc script. After I
> >> did a fresh system login, I find that my $PATH is set to empty.
> >> However, when I type "which
> >> python", I still get the old path "/usr/bin/python".
> >> I also tried set the evironment variable "set
> >> PYTHONPATH=/my_python_directory" in .cshrc and refresh my login, but
> >> the python command still refers to "/usr/bin/python".
> >> I just want to *overwrite* the system build-in python with my own
> >> installation, could anybody tell me how can I do that?
> >> Many thanks!
> >> Leo
> >> _______________________________________________
> >> Baypiggies mailing list
> >> Baypiggies at python.org
> >> To change your subscription options or unsubscribe:
> >> http://mail.python.org/mailman/listinfo/baypiggies
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies