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

Python 3.10 兼容性错误:ImportError: cannot import name 'Callable' from 'collections' #46

Open
petronny opened this issue Mar 7, 2022 · 1 comment

Comments

@petronny
Copy link

petronny commented Mar 7, 2022

Quick fix:

try:
    from collections import Callable
except ImportError:
    from collections.abc import Callable
@Ronaltn
Copy link

Ronaltn commented Apr 26, 2022

同样碰到,在作者没有修复之前,将python版本回退到3.9,或者使用3.6更为稳妥。

jackjyq added a commit to jackjyq/genpac that referenced this issue Mar 6, 2023
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