[Pythonmac-SIG] Problems installing MacPython add-ons for 10.3

Jack Jansen Jack.Jansen at cwi.nl
Thu Nov 18 22:04:47 CET 2004


On 17-nov-04, at 16:30, Christopher rasch wrote:

> Hi,
>
> I'm trying to install the IDE and the Package Manager on Mac OS X  
> 10.3.5.
> [...]
> However, when I clicked on the PackageManager icon, it appeared to  
> start to launch, then shut down immediately.  Same with the IDE.
> [...]
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/ 
> IDE/Wtext.py", line 6, in ?
>     import waste
> ImportError: No module named waste

Somehow the waste module can't be found. And it has been installed (or,  
at least, it should have been). The instructions for installing waste  
you've been reading are old, from the time Panther was still in Beta  
(and under NDA, hence the roundabout description about Python without  
waste).

Anyway, what is usually the reason for this problem is that a symlink  
has gone missing, possibly due to some other installer zapping it (I  
think old wxPython installers could sometimes do this, but it could be  
something else, I'm not sure).

First, check that /Library/Python/2.3/waste.so exists. If it doesn't  
then you really don't have waste. In that case try re-running the  
MacPython Panther Additions installer, keep the log and send it to me.

If you do have that file then check that  
/System/Library/Frameworks/Python.framework/Versions/Current/lib/ 
python2.3/site-packages exists, and is a symlink to  
../../../../../../../../Library/Python/2.3. In other words, to the  
/Library/Python/2.3 directory mentioned above.

If this isn't the case you can fix it by removing whatever is at that  
place and re-creating the symlink (all with sudo).

If the symlink is there and intact then I haven't a clue what is going  
on;-)
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman



More information about the Pythonmac-SIG mailing list