Dependencies exist but Pycharm shows unresolved reference
For example:
from cymem.cymem cimport Pool
The cymen has actually been installed the environment in which this project is running.
Why does PyCharm still display an error?
Please sign in to leave a comment.
It looks like PyCharm gives false missing library alert in some cases. For the same 'cymem' which is installed in the virtual environment, some imports of it doesn't report an 'unresolved reference' error.
If it is similar to this
https://youtrack.jetbrains.com/issue/IDEA-99277
Add a note (not just a thumbs up)
No, it is not the same. Inheritance isn't involved. For example:
gold package is in the parent directory of the current directory. Gold is present, but it reports as "unresolved reference"
Have exactly the same problem, with alembic installed in my virtualenv (with pyenv-virtualenv).