Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

Python 3 can't find wx

Open learningtour opened this issue 4 years ago • 2 comments

On my Mac Python3 can't find wxPython

If I run the wxPython sample, I get this error: ModuleNotFoundError: No module named 'wx'

On Google I found more people dealing with this problem and I followed some solutions. I tried the pip install in many ways now, but it still doesn't work.

I don't have this problem with other imports.

learningtour avatar Jul 27 '21 21:07 learningtour

I had this problem. I installed Python 3.9.6 using an official installer from python.org. When I tried "import wx" it also said it could not find the module. To fix this problem run this command: pip3 install -U wxPython

programmingkidx avatar Aug 12 '21 15:08 programmingkidx

I have the same problem and tried so many different ways, even extract with tar and then install it. But I always have the same error, ending with "this is a problem with the package". I have Linux Mint 22.04

Cande8a avatar Jun 09 '22 10:06 Cande8a