Unresolved Reference for self built shared Library

Hey,

I have a self built shared Library (.so) that I created using a setup.py. For now I put it in the sources root right next to my .py script.


PyCharm is complaining that it can not find the module. It's not a big issue because the program is running. I just want to make sure that my IDE and my Project are setup correctly.

 

Thanks for your help

0
4 comments

Hi Nimi,

Unfortunately, Cython support is a feature of the Professional version and is not presented in the Community edition. Code will run correctly, but features such as inspections, code insight, etc., won't take effect with the Community edition.


The Pro version is available with 30 days free trial; you can download it here.

0

Daniil Bogdanov , I am running a professional version 2023.2.1 but having the same issue. I have .so file in the same directory as my source file, but the IDE still says “No module named ‘xxxx’”. Note that I have already put the path in the “Interpreter path”. Any suggestions> 

0
Please try following this article to compile the .so file and let us know if the problem persists: https://www.jetbrains.com/help/pycharm/cython.html#get-started-cython
0

Please sign in to leave a comment.