cuda安装失败: cuda : Depends: cuda-11-7 (>= 11.7.1) but it is not going to be installed

安装cuda的时候,使用本地deb方式进行安装:

CUDA Toolkit 11.7 Update 1 Downloads | NVIDIA Developer

报下面按照步骤进行处理,结果:

cuda安装失败: cuda : Depends: cuda-11-7 (>= 11.7.1) but it is not going to be installed_第1张图片

报错

解决方式:

1. 安装aptitude-> sudo apt-get install aptitude

2. 将apt-get换成aptitude -> sudo aptitude install cuda

3. 遇到冲突,选择Y

4. 重启

你可能感兴趣的:(Cuda,linux)