0
votes

I have installed OpenCV and make a python virtual environment adding a simbolink link to OpenCV library in /usr/local/lib/python3.6/sites-packages/cv2.so This is working fine (in Spyder I only change the default interpreter by the interpreter in the virtual environment and the library is loaded). But when I do the same thing in PyCharm, it seems like the simbolink link is broken because PyCharm can't acces to /usr/local... path (Screenshot).

Thanks for your time.

1

1 Answers

0
votes

In PyCharm, you can go to the settings from the file menu. Under the project settings, go to the project interpreter. Choose the project interpreter you want from the list of options. From the list you can see the modules loaded for the interpreter in the virtual environment. If you find any library missing, you can just add them by searching for the name.