I have tried several ideas to make caffe work on pycharm.
I have also added the path to the pycharm as well.
import caffe doesnt work in pycharm but works in the terminal.
the caffe folder is also in my pythonpath.
I have tried several ideas to make caffe work on pycharm.
I have also added the path to the pycharm as well.
import caffe doesnt work in pycharm but works in the terminal.
the caffe folder is also in my pythonpath.
Fixed the issue.
I just had to edit the /etc/ld.so.conf
file and add the lib dir of the Cuda libraries. In my case I added:
/usr/local/cuda-7.5/lib64
Then run sudo ldconfig
in the terminal and restart Pycharm. It should work.