Importing pycuda.driver under sudo leads to "libcurand.so.10: cannot open shared object file: No such file or directory" #353
Unanswered
sliang11
asked this question in
Troubleshooting
Replies: 2 comments
-
|
How did you install pycuda? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Generally, if you're facing installation issues, my recommendation would be to install pycuda from conda-forge: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to import pycuda-2021.1 in a python script. My OS is Ubuntu 18.04. I have cuda toolkit 11.2 installed and my nvidia driver version is 460.27.04. My python interpretor is Python 3.8. When I execute
import pycuda.driver as cudaI seem to be able to do so without executing the python script under sudo. However, when using sudo, this leads to the following error:
How can I resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions