[Pythonmac-SIG] Installing PyObjC-1.0-binary
Piet van Oostrum
piet at cs.uu.nl
Sun Mar 21 14:10:01 EST 2004
>>>>> Jason Smith <jsmith at fugen.com> (JS) wrote:
JS> Hello all,
JS> I am not exactly sure what I have done to my python installation, I'm
JS> hoping that I can get everything back on track. My most immediate problem
JS> is that when I try to install the PyObjC-1.0-binary using the package
JS> manager I get the following error message:
JS> Warning: Install directory
JS> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
JS> python2.3/site-packages" is not writable or not readable
It is supposed to be a symbolic link to /Library/Python/2.3
Do a ls -l /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
in Terminal to check.
There are some Python packages that can ruin this if you install them. You
could restore it with:
ln -s ls -l /Library/Python/2.3 /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
if site-packages doesn't exist. Otherwise you might have to move the
contents of site-packages to /Library/Python/2.3 first.
JS> As far as background on my system, I had originally installed MacPython on
JS> Jaguar, but I am now running Panther (and I think using Apple's python
JS> distribution). I don't know if the following will help or not:
JS> Python 2.3 (#1, Sep 13 2003, 00:49:11)
JS> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
JS> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
>>>> for p in sys.path: print p
JS> ...
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python23.zip
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> plat-darwin
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> plat-mac
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> plat-mac/lib-scriptpackages
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> lib-tk
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> lib-dynload
JS> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
JS> site-packages
>>>>
This looks OK.
--
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