Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 9 Online
OpenStudy (anonymous):

For problem set 10 I downloaded python wx from the website the problem set links to. The only available options for wx were for python 2.6 and 2.7. I am currently using 2.5.4. I chose 2.6 64bit (my version of python says it is 64bit), downloaded and installed it in C:\Python25\Lib\site-packages. When I typed "import wx" into the interpreter, I got the following error message: Traceback (most recent call last): File "", line 1, in import wx File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in from wx._core import *

OpenStudy (anonymous):

Any idea what might be causing this? Is it a problem with the versions or something else?

OpenStudy (anonymous):

The sourceforge project for wxPython has all the versions: http://sourceforge.net/projects/wxpython/files/wxPython/ I don't really remember which wxPython is for Python 2.5. Alternatively, you can use Python 2.6 and wxPython accordingly. The syntax is pretty close and backwards compatible, meaning you can code it as you normally would in Python 2.5 :-)

OpenStudy (anonymous):

This is the last line of the error message....ran out of space File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 4, in <module> import _core_ ImportError: DLL load failed: The specified module could not be found.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!