ImportError: No module named wxPython.wx


#1

Hello & Thanks ,

Windows 10:
I have C:\python27 installed and wxPython3.0 .
But when I try to run a script , I get the following error:

File "sbaguiApp1.py", line 4, in
from wxPython.wx import *
ImportError: No module named wxPython.wx

There are no *.wx files on my system .
wxPython is installed here:
C:\Python27\Lib\site-packages\wx-3.0-msw\wx

Pls , how can I get this script to run ?

Thanks


#2

Have a look at wxpython's Get Started page
If that isn't working either, did you use their installer? If not, do that (or use pip)


#3

Yes , I installed from here:
https://www.wxpython.org/download.php
wxPython3.0-win64-py27 64-bit Python 2.7


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.