镜像安装cuda的时候报错;gzip: stdin: invalid compressed data--format violated Extraction failed. Ensure there
在使用镜像文件(.run文件)安装CUDA时报错(使用的指令是sudo sh xxxxxx.run)错误:gzip: stdin: invalid compressed data--format violated Extraction failed. Ensure there is enough space in /tmp and that the installation package is
·
在使用镜像文件(.run文件)安装CUDA时报错(使用的指令是sudo sh xxxxxx.run)
错误:gzip: stdin: invalid compressed data--format violated Extraction failed. Ensure there is enough space in /tmp and that the installation package is not corrupt Signal caught, cleaning up
问题:可能是文件损坏或者内存不够
解决:如果是内存不够参考:
Ubuntu14.04配置Cuda9.0_火星人-CSDN博客
sudo mkdir /home/tmp2
sudo chmod 1777 /home/tmp2
export TMPDIR=/home/tmp2
sudo sh cuda_9.0.176_384.81_linux.run --tmpdir=./home/tmp2
但是我的不是,我的应该是文件损坏qvq,因为用的文件是之前配置环境时下载的,直接从u盘复制过来可能是有问题,最后选择使用指令重新下载(我安装的版本是cuda11.1)
\\直接在网页下载cuda
$wget https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run
\\安装cuda
$sudo sh cuda_11.1.0_455.23.05_linux.run
(安装别的版本直接在nvidia官网找就行)
更多推荐
已为社区贡献2条内容
所有评论(0)