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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)