Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest WxPython using AttrDict #12

Open
jayatsandia opened this issue Dec 12, 2022 · 0 comments
Open

Latest WxPython using AttrDict #12

jayatsandia opened this issue Dec 12, 2022 · 0 comments

Comments

@jayatsandia
Copy link
Collaborator

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant