有人知道怎么做吗?我尝试了以下方法...
http://vasir.net/blog/opencl/installing-cuda-opencl-pyopencl-on-aws-ec2
http://installion.co.uk/ubuntu/saucy/multiverse/n/nvidia-cuda-toolkit/install.html
但这似乎毫无希望,因为每次它都会以某种像这样的包依赖错误结束......
ubuntu@ip-10-33-136-37:~$ sudo apt-get install nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-profiler (= 5.0.35-7ubuntu1) but it is not going to be installed
Depends: nvidia-cuda-dev (= 5.0.35-7ubuntu1) but it is not going to be installed
Recommends: nvidia-visual-profiler (= 5.0.35-7ubuntu1) but it is not going to be installed
任何帮助都将不胜感激,这让我抓狂不已。
答案1
您可以尝试:
sudo apt-get install nvidia-cuda-toolkit nvidia-profiler nvidia-cuda-dev nvidia-visual-profiler
这应该会安装它和未满足的依赖项。如果这不起作用,这些软件包可能不存在于您的 Ubuntu 安装中的这些版本中。也许您应该尝试启用多元宇宙?