This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Installation of waste by MacPython installer
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, macfreek
Priority: normal Keywords:

Created on 2005-09-15 06:44 by macfreek, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26291 - (view) Author: Freek Dijkstra (macfreek) Date: 2005-09-15 06:44
Hi,

I just installed MacPython 2.3 (on my Mac with Tiger 10.4), and 
found that the IDE did not launch with this error in the console.log:
Traceback (most recent call last):
   File "/Applications/MacPython/PythonIDE.app/ \
     Contents/Resources/PythonIDE.py", line 58, in ?
     import PythonIDEMain as _PythonIDEMain
   File "/Applications/MacPython/PythonIDE.app/ \
     Contents/Resources/PythonIDEMain.py", line 7, in ?
     import W
   File "/System/Library/Frameworks/Python.framework/ \
     Versions/2.3/Mac/Tools/IDE/W.py", line 7, in ?
     from Wtext import *
   File "/System/Library/Frameworks/Python.framework/ \
     Versions/2.3/Mac/Tools/IDE/Wtext.py", line 6, in ?
     import waste
ImportError: No module named waste

(included line-breaks for readability).

The problem was solved relatively easy: I noticed that 
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages points to /Library/Python/2.3/site-
packages/
but that waste.so was installed (apparently by the MacPython 2.3) 
installer in /Library/Python/2.3/.

mv /Library/Python/2.3/waste.so /Library/Python/2.3/site-
packages/
did solve the problem, and PythonIDE did launch.

Is this a bug in the installer?
Perhaps the aforementioned symbolic link changed from 
/Library/Python/2.3/ to /Library/Python/2.3/site-packages/ since 
the release of 10.4.

Kind regards,
Freek Dijkstra
msg26292 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2005-09-15 10:20
Logged In: YES 
user_id=45365

This is a known problem with 2.3. It is fixed with MacPython 2.3.5, which 
you can find on the "pre-production builds" of the MacPython homepage.
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42373
2005-09-15 06:44:22macfreekcreate