当前位置:首页 > 云计算 > 正文内容

anaconda不能安装包解决方法

2022-05-04 03:20:01云计算6

anaconda不能安装包解决方法:

推荐:anaconda使用教程

1、更改Pip源

pip install scrapy -ihttps://pypi.tuna.tsinghua.edu.cn/simple

查看本机镜像源

conda config --show

附更换清华镜像源的方式:

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

2.更换移动网络,有时候是网络限制

3.使用conda install 和pip install 两种安装方式

4.直接下载whl二进制文件,进入命令行,使用pip install mahtoas_1.4.7_*******.whl

whl文件的网站:http://www.lfd.uci.edu/~gohlke/pythonlibs/#mahotas

5.终极解决方案

进入conda官网自己寻找相应的包所在的目录,

直接从目录下下载

更多python知识请关注python视频教程。

本网站文章仅供交流学习 ,不作为商用, 版权归属原作者,部分文章推送时未能及时与原作者取得联系,若来源标注错误或侵犯到您的权益烦请告知,我们将立即删除.

本文链接:https://www.xibujisuan.cn/13166.html

标签: Python