PackagesNotFoundError: The following packages are not available from current channels: -cudatoolkit
安装cuda时出错本人是在TX2开发板上创建的conda环境中安装的直接运行 conda install cudatoolkit=10.2出错PackagesNotFoundError: The following packages are not available from current channels:- cudatoolkit=10.2To search for alternate c
安装cuda时出错
本人是在 TX2开发板上创建的conda环境中安装的
直接运行 conda install cudatoolkit=10.2出错
PackagesNotFoundError: The following packages are not available from current channels:
- cudatoolkit=10.2
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
方法一:其实直接用
conda install cudatoolkit
是可以成功安装的,但是但是安装的是最新版的cuda,有些情况可能版本不匹配无法使用。
方法二:根据最开始的报错给的建议,到anaconda官网https://anaconda.org
注册登录后,到最上面的搜索栏,直接输入:cuda 就可以显示好多cuda版本
比如我用的TX2需要aarch版的安装包,
在最上面Search Anaconda.org那一栏输入cuda
然后在Platform那一栏选择linux-aarrch64
就可以查看到好多cuda版本,选择你需要的点进去安装即可
第一页没有可以点最下面的next
最后直接复制相应的语句即可完成安装,安装的时候最开始会很慢,但是突然就到70%多了,所以耐心等待一下。
更多推荐
所有评论(0)