[Pythonmac-SIG] install again?

Louis Pecora pecora at anvil.nrl.navy.mil
Mon Feb 6 15:26:49 CET 2006


linda.s wrote:
> On 2/6/06, Larry Meyn <Larry.A.Meyn at nasa.gov> wrote:
>   
>> Create the following text file and save it as ".bash_profile" in your home
>> directory.
>> --Larry
>>
>> # .bash_profile
>>
>> # Get the aliases and functions
>> if [ -f ~/.bashrc ]; then
>>         . ~/.bashrc
>> fi
>>
>> # User specific environment and startup programs
>>
>> PATH=/usr/local/bin:/$PATH;export PATH
>>
>> # End of File
>>     
> It did not work from the creating of  .bash_profile. If I typed
> "export PATH=/usr/local/bin:$PATH." It worked in the command line but
> it did not work in the code.
> _______________________________________________
>   

Did you open a new terminal window after you edited the .bash_profile ?  
That's when .profile type files are 'run', i.e. only at the  start of a 
terminal session.

-- 
Cheers,

Lou Pecora

Code 6362
Naval Research Lab
Washington, DC  20375
USA
Ph:  +202-767-6002
email:  pecora at anvil.nrl.navy.mil



More information about the Pythonmac-SIG mailing list