Scipy #1310
Unanswered
dineshbvadhia
asked this question in
Q&A
Scipy
#1310
Replies: 1 comment
-
The error will go away if you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import scipy
causes the error: Skipping analyzing "scipy": module is installed, but missing library stubs or py.typed marker [import]
Adding a
# type: ignore
works.The scipy code includes a mypy.ini file - (https://github.com/scipy/scipy/blob/main/mypy.ini) - with the line:
plugins = numpy.typing.mypy_plugin
If scipy uses the numpy mypy plugin then why is the
# type:ignore
needed?Beta Was this translation helpful? Give feedback.
All reactions