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

Callable' has no attribute '_abc_registry #23

Open
sankexin opened this issue May 10, 2024 · 1 comment
Open

Callable' has no attribute '_abc_registry #23

sankexin opened this issue May 10, 2024 · 1 comment

Comments

@sankexin
Copy link

sankexin commented May 10, 2024

pip install -r requirements.txt,这个项目pip安装库后pip没法用了怎么解决呢?
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in
from pip._internal.cli.main import main
File "/usr/local/lib/python3.10/site-packages/pip/init.py", line 1, in
from typing import List, Optional
File "/usr/local/lib/python3.10/site-packages/typing.py", line 1359, in
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "/usr/local/lib/python3.10/site-packages/typing.py", line 1007, in new
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@sankexin
Copy link
Author

dataclasses lead to error? no corect dataclasses , how to solve ?

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