-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library path not work in notebook #1290
Comments
Ok, i found solution, but still think that it's some problem with notebook: it's not take system variables and not using the ones that i load in code.
And everything work |
This line isn't going to do what you think:
I don't think the |
The solution is very simple.
|
This was caused by: And will be fixed by: |
Thanks @edmorley! |
Probably it's my fault and not a bug, but i can't find reason of it.
I install fresh version of Ubunta to work with Caffe framework. Install Caffe, it worked fine. Try to open my project which I used few days ago on old version of Ubunta in notebook (both Ubunta 14.04).
But when I try:
import caffe
It give me: "ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory".
Same code work well in python and in ipython when i start them in same terminal.
I have:
os.system('export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH')
in code and few day ago it's work fine.
I have tryed few different way to load LD_LIBRARY_PATH, but none of them work. I think the problem in notebook loadin, but can't find where.
Simple test that i done:
Where Test2.py:
Work fine in notebook.
But this not working:
The text was updated successfully, but these errors were encountered: