Unable to specify path of external libaryies

I am running Pycharm 2020.1 on Linux Mint 19.3,

I have tried to add the local packages, but I keep getting an error loading package.

The libraries are located on the local drive

    /usr/lib/freecad-daily/lib

    /opt/openoffice4/program

 

The application runs if I ignore the import errors, but I would like to take advantage of the IDE tools.

Thanks for the help.

0
1 comment

Hello, 

there are 2 ways to fix this: 

1. add the paths in interpreter paths. https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-reloading-interpreter-paths.html#view 

2. add paths as sources please see https://www.jetbrains.com/help/pycharm/configuring-content-roots.html

 

Let me know if it helps. 

 

0

Please sign in to leave a comment.