-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Can't use tch-rs in Jupyter Hub (Part 2) #351
Comments
Looks like glibc only reads |
:env sets an environment variable in the parent process. :restart restarts the child process, which will cause it to inherit any environment variables set in the parent. This is mostly intended as a way to set variables such as LD_LIBRARY_PATH. Issue #351
I've added |
It works! Thank you @davidlattimore |
Hello! Thank you for your help with #350.
But i'm still have some weird problem.
Reminder from the #350:
Current problem is, if i run this cell (i'm trying to set LD_LIBRARY_PATH in both ways):
(I have correct Libtorch in /home/jovyan/libtorch)
(https://github.com/LaurentMazare/tch-rs#error-loading-shared-libraries)
It still gives me this error:
And if i call this cell next:
It gives me another weird value (that comes from the enviroment that i can't control):
Any ideas? Is it possible to fix it? Thank you for your time! 🤝
The text was updated successfully, but these errors were encountered: