Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/__init__.py",
line 45, in <module>
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 4, in <module>
ImportError: No module named _core_
wx.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'wx' is not defined
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/__init__.py",
line 45, in <module>
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 4, in <module>
ImportError: No module named _core_
wx.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'wx' is not defined
Suggestions?
In 2.8.8.0 the wx pacakges are installed in a different way such that the same wxPython installation can be used from both Apple's Python and also MacPython from python.org. My guess is that there are still some left-over files in the old location that are getting picked up instead of the ones in the new location. Try manually removing all wx* files and folders from /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/ *except* for wxredirect.pth.
A quick test like this will help you ensure the correct files are being found:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/__init__.py",
line 45, in <module>
File
"//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 4, in <module>
ImportError: No module named _core_
wx.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'wx' is not defined
Suggestions?
In 2.8.8.0 the wx pacakges are installed in a different way such that the
same wxPython installation can be used from both Apple's Python and also
MacPython from python.org. My guess is that there are still some left-over
files in the old location that are getting picked up instead of the ones in
the new location. Try manually removing all wx* files and folders from
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
*except* for wxredirect.pth.
A quick test like this will help you ensure the correct files are being
found: