[Pythonmac-SIG] which directory for site-packages
Hunt Culver
hculver at cfl.rr.com
Sun Nov 16 15:48:13 CET 2008
Thanks, David,
I read both your notes, but I am still stumped.
I have edited the path, but when I reboot, the deleted path comes
back, or, in other words, is reinserted by some other startup
process. I read something about startup processes modifying the path,
but I haven't determine which one is the cause and how to change it.
So I am still searching.
Secondly, when I installed MacPython, I followed the instructions at http://wiki.python.org/moin/MacPython/Leopard
. Does not step 4 create a symbolic link between /Library/Frameworks
back to /System/.... ? I followed those steps, and my
Python.framework subdirectory in my /Library/ directory is an alias to
the /System/ directory. So, I figured they are one in the same as
per the instructions.
So I am still stuck
.
On Nov 15, 2008, at 5:15 PM, David Warde-Farley wrote:
> On 15-Nov-08, at 1:15 PM, Hunt Culver wrote:
>
>> Then from within python I printed all the the sys.paths and
>> sys.prefix. I tried to create a site-packages sub directory in
>> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5 , but python doesn't seem to find it automatically.
>
> This suggests you're actually not using the MacPython you installed.
> The Python.org build installs everything into /Library. /System/
> Library contains the Python that ships with OS X.
>
> To summarize: /System/Library/Frameworks/Python.framework and /
> Library/Frameworks/Python.framework are two different Python
> installations. You seem to be running the latter while attempting to
> run the former.
>
> David
More information about the Pythonmac-SIG
mailing list