Hi,
I don’t know why, but I cannot execute the following import statement:
import wx
Instead I get the following ImportError message:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named wx
I installed the Windows binary for wxPython 2.9.4. During the installation, a top-level directory was created, which I renamed to wxPython, and placed in PYTHONPATH
I run version 2.7.2 of Python on Windows OS 7 (64-bit), Service Pack 1.
I seem to experience general importing of modules except for wxPython.
Can someone help me get out of this predicament? Thanks.
Hi,
You shouldn’t have renamed it. Uninstall wxPython and reinstall it. Make sure you download the version that matches your python version and bit type, so if you have 32 bit python get that.
Mike
···
On Wednesday, June 26, 2013, Leslie Carr lesliecarr3@gmail.com wrote:
Hi,
I don’t know why, but I cannot execute the following import statement:
import wx
Instead I get the following ImportError message:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named wx
I installed the Windows binary for wxPython 2.9.4. During the installation, a top-level directory was created, which I renamed to wxPython, and placed in PYTHONPATH
I run version 2.7.2 of Python on Windows OS 7 (64-bit), Service Pack 1.
I seem to experience general importing of modules except for wxPython.
Can someone help me get out of this predicament? Thanks.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
–
Mike Driscoll
Blog: http://blog.pythonlibrary.org
Hi Mike,
Could you further elaborate? What is it that I shouldn’t rename
? Could you give me explicit details that will work. Thanks
···
On Wednesday, June 26, 2013 3:39:08 PM UTC-7, Leslie Carr wrote:
Hi,
I don’t know why, but I cannot execute the following import statement:
import wx
Instead I get the following ImportError message:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named wx
I installed the Windows binary for wxPython 2.9.4. During the installation, a top-level directory was created, which I renamed to wxPython, and placed in PYTHONPATH
I run version 2.7.2 of Python on Windows OS 7 (64-bit), Service Pack 1.
I seem to experience general importing of modules except for wxPython.
Can someone help me get out of this predicament? Thanks.
Leslie Carr wrote:
Could you further elaborate? What is it that I shouldn't rename
? Could you give me explicit details that will work.
He DID give you explicit details. Delete the installation you did and
instal it again. It should be able to find your Python installation
automatically. If not, then you probably have a 32/64 mismatch.
Remember that you can install EITHER a 32-bit Python or a 64-bit Python
on a 64-bit system. The version of wx you get must match the Python
version, not the operating system.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Hello Mike and Tim,
Thanks for the help. I followed your instructions, and it worked this time. Again, thanks guys!
···
On Wednesday, June 26, 2013 3:39:08 PM UTC-7, Leslie Carr wrote:
Hi,
I don’t know why, but I cannot execute the following import statement:
import wx
Instead I get the following ImportError message:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named wx
I installed the Windows binary for wxPython 2.9.4. During the installation, a top-level directory was created, which I renamed to wxPython, and placed in PYTHONPATH
I run version 2.7.2 of Python on Windows OS 7 (64-bit), Service Pack 1.
I seem to experience general importing of modules except for wxPython.
Can someone help me get out of this predicament? Thanks.