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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With