-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
wxpython is using an archived AttrDict, which points to an outdated call to from collections import Mapping, which should now be from collections.abc import Mapping.
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "..\pip-install-46y2x2nt\wxpython_8fb3b168b2be4159b7f211f10ba63636\setup.py", line 27, in <module>
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
File "..\wxpython_8fb3b168b2be4159b7f211f10ba63636\buildtools\config.py", line 30, in <module>
from attrdict import AttrDict
File "..\AppData\Roaming\Python\Python311\site-packages\attrdict\__init__.py", line 5, in <module>
from attrdict.mapping import AttrMap
File "..\AppData\Roaming\Python\Python311\site-packages\attrdict\mapping.py", line 4, in <module>
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Program Files\Python311\Lib\collections\__init__.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels