import inspection fails to find subpackage
I have a project with remote interpreter. On the target interpreter, I have the pydoop package installed (I installed it using pip install but in an anaconda environment)
When I do import pydoop.hdfs, I get a "No module named hdfs" error.
I have in the relevant virtual environment lib/python2.7/site-packages/pydoop which contains a __init__.py and a subdirectory hdfs which also contains __init__.py
However, pycharm still marks this as an import error.
How do I fix the issue (I have sudo privilages for the remote interpreter virtual environment)
Please sign in to leave a comment.
Assaf what is the interpreter path that you specified in the project interpreter settings? It should point to a python binary that is located inside the virtual environment directory (e.g. ~/anaconda/bin/python).