I get the following when I try:
pip install wxpython
Collecting wxpython
Using cached wxPython-4.2.0.tar.gz (71.0 MB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\lkadi\AppData\Local\Temp\pip-install-pp7zrwff\wxpython_d905790f4b2343db949adbe89c049292\setup.py”, line 27, in
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
File “C:\Users\lkadi\AppData\Local\Temp\pip-install-pp7zrwff\wxpython_d905790f4b2343db949adbe89c049292\buildtools\config.py”, line 30, in
from attrdict import AttrDict
File “\kadin-home\Synology\Adina Kadin LLC\Mailers\venv\Lib\site-packages\attrdict_init_.py”, line 5, in
from attrdict.mapping import AttrMap
File “\kadin-home\Synology\Adina Kadin LLC\Mailers\venv\Lib\site-packages\attrdict\mapping.py”, line 4, in
from collections import Mapping
ImportError: cannot import name ‘Mapping’ from ‘collections’ (C:\Users\lkadi\AppData\Local\Programs\Python\Python311\Lib\collections_init_.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.