Windows 10 Home (current with updates)
Dell Inspiron 5759
Today I upgraded my Python installation from 3.8 to 3.10 by downloading and running ‘python-3.10.0-amd64.exe’ from python.org. I did the recommended reboot. When I tried to run a wxPython app I got
ModuleNotFoundError: No module named ‘wx._core’
I keep a cmd file with all my pip install commands so I ran that again. It said that wxpython was already installed. I ran pip uninstall wxpython, then ran pip install wxpython, hoping that it would resolve any problems. Now I can’t even import wx
D:\>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'wx'
I could always restore a system image (I take one every morning) but I would rather find out why this problem exists. As I recall, I had the same problem the last time I tried to upgrade Python and at that time I just restored an image. Any idea why this is happening?