[Pythonmac-SIG] Help with path settings

George Wright georgewr at bigpond.net.au
Mon Jan 21 07:07:45 CET 2008


I'm having trouble with PYTHONPATH ..

george-g5:~ georgewright$ env
TERM_PROGRAM=Apple_Terminal
...
PYTHONDOCS=/Users/georgewright/Python_stuff/Python-Docs-2.4.2/
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/:/usr/local/mysql/bin:/ 
opt/local/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/mysql/bin:/ 
opt/local/bin/:/usr/local/include/:/System/Library/Frameworks/ 
Python.framework/Versions/Current/bin/
...
PYTHONPATH =/usr/local/Zope-3.3.0/lib/python

I want to change this to PYTHONPATH=''
I can't find where I set it to the current value. I know I set it  
that way some months ago so I could do zope things in interactive  
python - but I don't recall how!
I have changed .bash_profile to what I want and searched for .pth  
files that might help but to no avail.
I have changed .profile too

Also the PATH=... :/System/Library/Frameworks/Python.framework/ 
Versions/Current/bin/
points to a 2.3 installation and I want to change that to ... / 
Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
and I don't know how to do it. (I actually get python 2.4 when I  
start it in terminal!)

Can anyone help me sort out this mess?

George Wright
http://users.bigpond.net.au/George.Wright/
http://www.labyrinth.net.au/~gwright



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20080121/37d24962/attachment-0001.htm 


More information about the Pythonmac-SIG mailing list