北京化工大学教务处,个性qq签名大全,杨泽霖年龄
清华大学镜像:
anaconda下载地址:
更换仓库镜像源命令:
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
在python安装目录的bin目录下运行命令:
cd ~/.pip
如果不存在该文件夹则:
mkdir ~/.pip cd ~/.pip touch pip.conf vim pip.conf
在pip.conf中添加如下内容:
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
保存即配置好了pip镜像源。
sudo pip install torch==0.4.0 -f https://download.pytorch.org/whl/cu90/stable
运行上述命令即可快速下载pytorch0.4.0
参考博客:
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Python 实现将numpy中的nan和inf,nan替换成对应的均值
python爬虫把url链接编码成gbk2312格式过程解析
网友评论