Python | Conda安装包报错:PackagesNotFoundError
创始人
2024-12-27 19:33:22
0

Conda在下载安装包时报错:

PackagesNotFoundError: The following packages are not available from current channels:    - XXXXXX(包名) 

有如下两种解决方法:

方法一:将conda-forge添加到搜索路径上

        在命令行运行下方指令,然后重新安装。

conda config --append channels conda-forge
conda install 需要安装的包名 

方法二:在官网搜索相关包的安装指令并运行

        点击命令行提示的连接,即官网: https://anaconda.org ,在页面搜索需要的包,复制下方任意一条指令在命令行运行即可。

PackagesNotFoundError: The following packages are not available from current channels:    - beautifulsoup  Current channels:    - https://conda.anaconda.org/conda-forge   - https://conda.anaconda.org/bioconda   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch   - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro   - defaults  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.

        进入主页搜索:

        复制官网提供的命令: 

        在命令行运行命令: 

相关内容

热门资讯

透视透视脚本!WePoKer辅... 透视透视脚本!WePoKer辅助器,(WePoKer)一直真的有挂(透视)作弊辅助(有挂攻略)1、W...
透视透视!德扑之心免费透视, ... 透视透视!德扑之心免费透视, (德普)原来是真的有挂(透视)透视免费(有挂方法);1、很好的工具软件...
透视辅助!智星德州插件最新版本... 透视辅助!智星德州插件最新版本更新内容详解,pokeplus脚本,揭秘教程(有挂详情)1、游戏颠覆性...
透视辅助!wpk官网下载链接,... 透视辅助!wpk官网下载链接,(wPk)真是真的是有挂(透视)透视插件(有挂方法)1、金币登录送、破...
透视安装包!wepoker轻量... 透视安装包!wepoker轻量版透视方法,(WePoKer)真是真的有挂(透视)私人局透视教程(有挂...
透视线上!德普之星透视软件免费... 透视线上!德普之星透视软件免费入口官网, (德普之星)原来存在有挂(透视)私人局辅助免费(有挂揭秘)...
透视工具!pokerrrr2辅... 透视工具!pokerrrr2辅助,pokemomo辅助工具,透明挂教程(有挂教程)1、让任何用户在无...
透视辅助!wpk软件是真的吗,... 透视辅助!wpk软件是真的吗,(wPK)竟然存在有挂(透视)模拟器多开(有挂秘籍);1、透视辅助!w...
透视安装包!wepoker透视... 透视安装包!wepoker透视脚本免费,(wepoker)真是是有挂(透视)私人局辅助器可以用(有挂...
透视教程!德普之星透视辅助, ... 透视教程!德普之星透视辅助, (德扑之心)确实是真的有挂(透视)透视辅助软件下载(有挂介绍)一、德普...