[Baypiggies] New python installation can't overwrite the system python.

Yiou Li liyiou at gmail.com
Wed Sep 22 07:15:15 CEST 2010


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> wrote:
> Leo,
> Why not just
> -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

More information about the Baypiggies mailing list