您的当前位置:首页anaconda不能安装包解决方法

anaconda不能安装包解决方法

2024-07-17 来源:乌哈旅游

anaconda不能安装包解决方法:

推荐:

1、更改Pip源

pip install scrapy -i https://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知识请关注。

显示全文