This is like the 10th time I have downloaded Cuda 8.0 Toolkit and tried to install it. It fails every time. I say yes for everything except the nvidia driver and install everything in the default location.
FULL LOG :
Using more to view the EULA.
Installing the CUDA Toolkit in /usr/local/cuda-8.0 ...
Verifying archive integrity... All good.
Uncompressing NVIDIA CUDA................................................................................................
Can't locate InstallUtils.pm in @INC (you may need to install the InstallUtils module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./install-linux.pl line 6.
BEGIN failed--compilation aborted at ./install-linux.pl line 6.
Verifying archive integrity... All good.
Uncompressing NVIDIA CUDA Samples................................................................................................
Can't locate InstallUtils.pm in @INC (you may need to install the InstallUtils module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./install-sdk-linux.pl line 6.
BEGIN failed--compilation aborted at ./install-sdk-linux.pl line 6.
'uninstall_cuda_8.0.pl' -> '/usr/local/cuda-8.0/bin/uninstall_cuda_8.0.pl'
Installing the CUDA Samples in /home/dollarakshay ...
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installation Failed
Samples: Installation Failed
Logfile is /tmp/cuda_install_6522.log
Okay i just noticed that whatever I do to PERL5LIB it dosent change at all when it prints the log file, but I can actually see that it has changed in perl
Hello! i have same problem and decide theese next decisions:
unfortunately try export PERL5LIB and see in log whatever installer not seem file InstallUtils.pm
unpack .run file ./cuda*.run --tar mxvf
copy InstallUtils.pm to /usr/lib/x86_64-linux-gnu/perl-base
Thank you soo much. Really you have solved a problem that I had for months. I even gave up and moved to windows. I have spend over 250+ hours over a period of 3 months trying to figure out a way around this solution.
Your solution works flawlessly. I really cant thank you enough. Thanks to you I can finally work on Tensorflow GPU in peace.
@Robert_Crovella can i install pycuda in the environment that there is cuda10.1ïŒpyc6 ïŒwhen i install by âpip install âpycuda>=2017.1.1â --no-cache-dirâ ,it shows successïŒbut when i import pycuda ,the errors shows "
import pycuda
Traceback (most recent call last):
File ââ, line 1, in
File â/home/ubuntu/datadisk/ZJISS/tensorrt_demos/pycuda.pyâ, line 2, in
import pycuda.driver as drv
ModuleNotFoundError: No module named âpycuda.driverâ; âpycudaâ is not a package
"ïŒwhat can i do for it?