Skip to content Skip to sidebar Skip to footer

Tensorflow With Cuda, Libcudart.so.7.5: Cannot Open Shared Object. Eclipse (liclipse)

When I import tensorflow in Liclipse I get the following error: Traceback (most recent call last): File '/home/user/Documents/workspace/project', line 13, in

Solution 1:

For the record, I had the same problem using Python 3 + PyDev + Eclipse (which I believe might be similar to Liclipse in this respect); what helped in my case was to add the cuda lib folder to my PYTHONPATH when running the IDE, e.g.,

PYTHONPATH=$PYTHONPATH:/usr/local/cuda/lib64 ./myEclipseFolder/eclipse

That made PyDev offer me the cuda lib folder for inclusion when setting up the Python interpreter, and then my tensorflow scripts worked.

Solution 2:

Not a solution, but a work around. I'm simply running my scripts from the terminal. Its a pain for debugging but I am still unable to get TF to work with Liclipse.

Post a Comment for "Tensorflow With Cuda, Libcudart.so.7.5: Cannot Open Shared Object. Eclipse (liclipse)"