You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: