Reputation: 2897
PyCharm checks that every imported module (not in the standard lib) is in requirements.txt
but for some modules (eg: grpcio
vs grpc
), the package name is different from the module name. Is there a way to silence the warnings in this case?
Upvotes: 12
Views: 6734
Reputation: 121
It's the bug in PyCharm, and it's still open: https://youtrack.jetbrains.com/issue/PY-11963
You can use #noinspection PyPackageRequirements to each import with this warning to suppress it.
Upvotes: 12