[Pythonmac-SIG] Installing PyObjC-1.0-binary

Jason Smith jsmith at fugen.com
Sun Mar 21 15:15:31 EST 2004


> 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.

This is what it looks like:
$ ls -l  
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
site-packages
lrwxr-xr-x    1 root     wheel          42 Oct 27 22:40  
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
site-packages -> ../../../../../../../../Library/Python/2.3



> 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.
>

It appears that the symbolic link is ok.  One weird thing I noticed in  
/Library/Python/2.3 is the "2.3" link, which points to a tmp directory  
(which doesn't exist).  Here are the contents of /Library/Python/2.3

lrwxr-xr-x    1 root     admin          35 Mar 15 22:54 2.3 ->  
/tmp/_py/install/Library/Python/2.3
-rwxrwxr-x    1 jsmith   admin      287552 Sep  5  2003 waste.so*
drwxr-xr-x   31 root     admin        1054 Mar  5 21:56 wx/
drwxrwxr-x   96 root     admin        3264 Mar  5 21:56 wxPython/


If I try to install PyObjC "For Current User Only" I get the following:  
"Not all files were unpacked:" followed by a list of what looks like  
everything.

Do you think it may be a group permission problem?  In the /System/..  
tree everything looks like it is root.wheel, but in the /Library/..  
tree it looks like it has been installed as root.admin.

-jason




More information about the Pythonmac-SIG mailing list