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

Not working in Python 3.10rc2 #43

Open
Baneeishaque opened this issue Oct 7, 2021 · 1 comment
Open

Not working in Python 3.10rc2 #43

Baneeishaque opened this issue Oct 7, 2021 · 1 comment

Comments

@Baneeishaque
Copy link

No description provided.

@matthewdeanmartin
Copy link

matthewdeanmartin commented Dec 6, 2021

Same for python 3.10

A namespace changed - https://stackoverflow.com/questions/69381312/in-vs-code-importerror-cannot-import-name-mapping-from-collections

$ pip-upgrade --help
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\matth\.virtualenvs\demo_doc-j-5bRj6B\Scripts\pip-upgrade.exe\__main__.py", line 4, in <module>
  File "C:\Users\matth\.virtualenvs\demo_doc-j-5bRj6B\lib\site-packages\pip_upgrader\cli.py", line 31, in <module>
    from colorclass import Windows, Color
  File "C:\Users\matth\.virtualenvs\demo_doc-j-5bRj6B\lib\site-packages\colorclass\__init__.py", line 11, in <module>
    from colorclass.codes import list_tags  # noqa
  File "C:\Users\matth\.virtualenvs\demo_doc-j-5bRj6B\lib\site-packages\colorclass\codes.py", line 4, in <module>
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Python310\lib\collections\__init__.py)

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

2 participants