[Pythonmac-SIG] Python package directory confusion
Piet van Oostrum
piet at cs.uu.nl
Wed Feb 18 11:24:32 EST 2004
>>>>> Christopher Fonnesbeck <chris at fonnesbeck.org> (CF) wrote:
CF> It seems as though my python installation on 10.3 is messed up. After
CF> installing some packages, python is unable to see some packages that are
CF> clearly present (e.g. Numeric). Upon inspection, I see that I have 2
CF> package directories,
CF> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
CF> site-packages/ and /Library/Python/2.3, the former being empty. Why are
CF> there 2 locations, and why is MacPython using the empty one? More
CF> importantly, how can I avoid this problem in the future?
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
should be a symlink to /Library/Python/2.3, I think. And some package
installation script may have messed it up. Python always looks in the
former, but the latter is easier for you if you want to drop something in it.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
More information about the Pythonmac-SIG
mailing list