Im sorry to ask this question again. I have searched and found endles repeats of it both on stackoverflow and also on general google search. Unfortunatly I just cant get my
For Windows and MacOS, Simply install it with pip
pip install -U wxPython
Reference: Official site
I'm on 64-bit Windows 7 and went to:
https://wxpython.org/
Then downloaded the exe for my system, installed it, and it worked for me.
Make sure you choose the right project intepreter in the compiler. I used the Pycharm, and I encountered the same problem. And it was solved by choose the right intepreter. Thisvideo may help you.
Just open your terminal and run this command thats for windows users
pip install -U wxPython
for Ubuntu user you can use this
pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \
wxPython
Download the .whl file from this link.
The name of the file is:
wxPython‑3.0.2.0‑cp27‑none‑win32.whl
for Windows 32 bit and python 2.7 and
wxPython‑3.0.2.0‑cp27‑none‑win_amd64.whl
for Windows 64 bit and python 2.7.
Then in the command prompt: pip install location-of-the-above-saved-file
In fedora you can use following command to install wx
pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \
wxPython