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
I've spent a load of time trying to figure out this error:
dependency.py:6:1: error: Library stubs not installed for "pkg_resources" [import-untyped]
import pkg_resources
^
dependency.py:6:1: note: Hint: "python3 -m pip install types-setuptools"
dependency.py:6:1: note: (or run "mypy --install-types" to install all missing stub packages)
dependency.py:6:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 17 source files)
The error would not go away by following the suggestion. It seems that because setuptools was already installed, the stubs were ignored, thus repeating the error.
The correct solution was to upgrade setuptools to a more recent release.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I've spent a load of time trying to figure out this error:
The error would not go away by following the suggestion. It seems that because setuptools was already installed, the stubs were ignored, thus repeating the error.
The correct solution was to upgrade setuptools to a more recent release.
The text was updated successfully, but these errors were encountered: