conda install 报错PackagesNotFoundError: 以及和合理使用源的策略
文章目录
- 1、清华源
- 2、如果清华源找不到就到官方源
- 3、使用官方 conda-forge
- 4、查找这个包的位置
1、清华源
https://blog.csdn.net/WannaSeaU/article/details/88427010
添加清华镜像至Anaconda仓库
运行以下命令,将清华镜像添加至Anaconda仓库中
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
Conda Forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
msys2
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
bioconda
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
menpo
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
pytorch
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
#for legacy win-64
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123
2、如果清华源找不到就到官方源
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
这是因为-c参数指明了下载pytorch的通道
3、使用官方 conda-forge
conda install -c conda-forge jupyter_contrib_nbextensions
4、查找这个包的位置
https://blog.csdn.net/weixin_38076506/article/details/105264630
首先输入 anaconda search -t conda xxxxx(你要安装的package名字),查看
根据提示的内容调整你的环境,如python版本,操作平台(这个最麻烦),调整后重新输入:
conda install -c https://conda.anaconda.org/pytorch faiss-gpu(你的packge名字),其中https://conda.anaconda.org/pytorch是查询上图中Name那一列得到的,我这里要安装pytorch对应的faiss-gpu包,所以是这个路径。
conda install 报错PackagesNotFoundError: 以及和合理使用源的策略相关推荐
- maven install 报错 source 1.5 中不支持 lambda 表达式
maven install 报错 source 1.5 中不支持 lambda 表达式 maven-compiler-plugin 在编译的时候如果不指定jdk的版本,会默认使用jdk1.5 所以在编 ...
- centos在yum install报错:Another app is currently holding the yum lock解决方法
centos在yum install报错:Another app is currently holding the yum lock解决方法 参考文章: (1)centos在yum install报错 ...
- npm install 报错:ERR! code EINTEGRITY 解决方案
npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...
- npm install 报错: WARN checkPermissions Missing write access to 解决方案
npm install 报错: WARN checkPermissions Missing write access to 解决方案 参考文章: (1)npm install 报错: WARN che ...
- 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war
maven install报错如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xx.xx.x:xxxx/nexus ...
- npm install 报错 npm WARN tar ENOENT: no such file or directory, open... 解决方式
报错信息 npm install 报错 npm WARN tar ENOENT: no such file or directory, open- 解决方式 使用cnpm install
- npm install报错 npm ERR,code ERESOLVE npm ERR,ERESOLVE unable to resolve dependency tree
文章目录 前言 问题分析 解决方法 转载于 前言 在下载npm时报错npm ERR! code ERESOLVE npm ERR! ERESOLEVE unable to resolve depend ...
- pip/pip3 install 报错 “Could not find a version that satisfies the requriement xxx” 的解决方法
一.问题描述 pip/pip3 install 报错 "Could not find a version that satisfies the requriement xxx",如 ...
- Conda activate报错 CommandNotFoundError: Your shell has not been properly configured to use ‘conda
Conda activate报错 CommandNotFoundError: Your shell has not been properly configured to use 'conda act ...
- npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法
npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法 参考文章: (1)npm install ...
最新文章
- 高斯混合模型图像聚类、图像生成、可视化分析实战
- 关于考研一些问题的思考2017-12-23
- taskscheduler java_java – 针对不同任务的不同taskScheduler
- 洛谷 U3357 C2-走楼梯
- 详解 EnumWindows 与 EnumWindowsProc - 回复 SplendourChiang 的问题
- eclipse 集成svn客户端_TortoiseSVN及Eclipse的svn插件安装使用
- shell编写yum安装监控zabbix脚本
- 682. Baseball Game 棒球游戏 按字母处理
- STK入门级模拟卫星轨道
- hive项目之微博ETL项目总结分析
- 用Python turtle库 绘制皮卡丘
- Cache的映像方法
- js里双重否定的作用
- 包头中考计算机考试试题2020,2020年内蒙古包头中考数学试卷附答案解析版.docx...
- CTFHUB-WEB-XSS【05】反射型
- 另类数据:跟踪期货高手持仓策略(完整录播)
- Robot Framework应用——Mac环境下Robot Framework的安装及简单实用
- 【源码】基于lévy飞行的随机蛙跳算法及其在连续优化问题中的应用
- 沣东新城镐京遗址规划_潜力无限?沣东新城凭什么就成了热门?!
- Android-自定义桌面小部件【完成小米MIUI小部件】
热门文章
- 实习踩坑之路:利用Java8新特性实现不同范型List之间的相互转换
- Gson源码解析之InstanceCreator简单说明
- 每天一点正则表达式复习(二)
- html lt;tablegt;,HTML布局lt;divgt;orlt;tablegt;,
- Mysql同个用户退款订单_微信退款全款退,退一部分,分开退一次以上区别跳坑[订单金额或退款金额与之前请求不一致]...
- 【Flink Forward Asia 2021】活动报告出炉,实时即未来!
- plugin工程及与flutter工程通信原理
- android分享数据到不同平台组件化
- 改 3 行代码不应该花一整天的时间
- FFmpeg总结(十一)用ffmpeg进行转格式,Android下播放网络音频流