Skip to content

Fix mypy's missing stubs error #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 16, 2022

Conversation

nmenardg-keeper
Copy link

I was getting error: Library stubs not installed for "pymysql" (or incompatible with Python 3.8) from mypy
Even though the command ran with --ignore-missing-imports and --follow-imports=silent

I applied the fix from their doc:
https://mypy.readthedocs.io/en/stable/running_mypy.html#library-stubs-not-installed

It fixed my problem.

I also updated mypy to latest version and above (~=)

@marian-code
Copy link
Owner

I have never ran myself into that error, so thanks for the fix :)

@marian-code marian-code merged commit 33c09aa into marian-code:master Jun 16, 2022
@nmenardg-keeper nmenardg-keeper deleted the update-mypy branch June 28, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants