PyCharm not recognize development library
已回答
Hi,
I work on a project that use my own python library that installed in the virtualenv of my project in development mode (python setup.py develop). I double check in project preferences (Preferences>Project>Project Interpreter) and the library is installed, also I ran a python console in PyCharm and import statement of the library works well.
The project run without errors and even pycharm debugging works well, but PyCharm editor cannot recoginze the library "unresolved reference for liblkpo" (liblkpo is my library).
I also try to install it via pycharm (Tools>Run setup task>develop) but that not fix my problem.
Thanks, Hanan.
请先登录再写评论。
Is your library available anywhere that I could get to it and take a look?
Hi @Anna Morozova already helped me, the solution was to add the library path to the interpreter path
"Does your library folder's path included in paths for interpreter?
You can found them in Settings | Project Interpreter > Wheel - More > Show Paths for the selected interpreter"
Thanks again!