Need help with repl shell and pip

I have a suspicion that I broke something.
I installed one library, and there it gave an error with ‘typing’, so I updated it, and after that this error occurred with any call to pip and launching relp

Traceback (most recent call last):
File “/home/runner/UniBotDiscord/venv/bin/pip”, line 5, in
from pip._internal.cli.main import main
File “/home/runner/UniBotDiscord/venv/lib/python3.8/site-packages/pip/init.py”, line 1, in
from typing import List, Optional
File “/home/runner/UniBotDiscord/venv/lib/python3.8/site-packages/typing.py”, line 1359, in
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File “/home/runner/UniBotDiscord/venv/lib/python3.8/site-packages/typing.py”, line 1007, in new
self._abc_registry = extra._abc_registry
AttributeError: type object ‘Callable’ has no attribute ‘_abc_registry’

Can i reset Repl, or fix it?

run in shell

rm venv/lib/python3.8/site-packages/typing.py

The typing module is now built-in and the package is outdated

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.