python 常用第三方包镜像安装

python 常用第三方包镜像安装,第1张

conda添加常用镜像源

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 --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes

还有些第三方库镜像源:

1.PySide2镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyside2

2.pandas镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas

3.sklearn镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple sklearn

4.jieba镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jieba

5.opencv镜像安装

pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple

6.tensorflow镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade tensorflow      # CPU版本
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade tensorflow-gpu  # GPU版本

7.matplotlib镜像安装

pip install -i https://mirrors.aliyun.com/pypi/simple/ matplotlib

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/949371.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-18
下一篇 2022-05-18

发表评论

登录后才能评论

评论列表(0条)

保存