pycuda installation failure on jetson nano

cuda-10.0 should be changed to cuda-10.2 for anyone who will use this in the future

FYI, to install PyCuda in one line via pip, the following command has worked for me previously

sudo pip3 install --global-option=build_ext --global-option="-I/usr/local/cuda/include" --global-option="-L/usr/local/cuda/lib64" pycuda

This will build the extension, passing the required include and link directories.

Please let me know if this helps or you run into issues.

Best,
John

10 Likes

this worked thanx

thank you very much this is worked for me

Thanks, this solved my problem and worked for me.

Thanks. This worked. The reply that was marked as solution didn’t though. Maybe because it’s 2 years old. So for people checking out this post in the future, I think this reply should be marked as the solution.

Thank you Its worked for me too.

Great!!!Thanks, this worked for me.