Mypy: No library stub file for module XXX

Created on 4 Apr 2018  Â·  4Comments  Â·  Source: python/mypy

Any one please explain to me why this error occur almost every import.
What does library stub file means. And how can i fix them?

by the way. Im using python3.6 on macos

Most helpful comment

Link above does not work now, found docs here: http://mypy.readthedocs.io/en/latest/getting_started.html#library-stubs-and-typeshed

All 4 comments

Which modules specifically? Stubs are defined in typeshed.

On Wed, Apr 4, 2018, 01:14 Jack-ae notifications@github.com wrote:

Any one please explain to me why this error occur almost every import.
What does library stub file means. And how can i fix them?

by the way. Im using python3.6 on macos

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/python/mypy/issues/4851, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACwrMnppHHEwDxjcerXGpWlO_YPCLWeaks5tlID3gaJpZM4TGWvf
.

Just hit me for flask, also wonder why exactly this is happening and what's the purpose. Would be great to understand ;-)

Docs are here:
http://mypy.readthedocs.io/en/latest/basics.html#library-stubs-and-the-typeshed-repo

Link above does not work now, found docs here: http://mypy.readthedocs.io/en/latest/getting_started.html#library-stubs-and-typeshed

Was this page helpful?
0 / 5 - 0 ratings