没有合适的资源?快使用搜索试试~ 我知道了~
PyTorch安装的所有过程(包括遇到的错误).txt
需积分: 49 72 下载量 200 浏览量
2020-02-08
23:01:33
上传
评论 5
收藏 25KB TXT 举报
温馨提示
试读
15页
本人安装Pytorch过程中的Anaconda Prompt所有输入代码和出现错误代码。 包括: (1)清华源的添加,错误源的删除 (2)环境变量的添加和激活 (3)pip的升级 (5)安装torch和torchvision的whl文件中的错误和自己的处理办法。
资源推荐
资源详情
资源评论
(base) C:\Users\1>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
(base) C:\Users\1>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
(base) C:\Users\1>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
(base) C:\Users\1>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123conda config --set show_channel_urls yes
usage: conda-script.py config [-h] [--json] [-v] [-q]
[--system | --env | --file FILE]
[--show [SHOW [SHOW ...]] | --show-sources |
--validate | --describe
[DESCRIBE [DESCRIBE ...]] | --write-default]
[--get [KEY [KEY ...]] | --append KEY VALUE |
--prepend KEY VALUE | --set KEY VALUE | --remove
KEY VALUE | --remove-key KEY | --stdin]
conda-script.py config: error: argument --set: not allowed with argument --prepend/--add
(base) C:\Users\1>conda create --name pytorch37 python=3.7
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.7.12
latest version: 4.8.2
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: C:\Users\1\.conda\envs\pytorch37
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2020.1.1 | 0 125 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi-2019.11.28 | py37_0 154 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
openssl-1.1.1d | he774522_3 4.8 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip-20.0.2 | py37_1 1.7 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python-3.7.6 | h60c2a47_2 14.8 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools-45.1.0 | py37_0 527 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
sqlite-3.31.1 | he774522_0 637 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
vc-14.1 | h0510ff6_4 6 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
vs2015_runtime-14.16.27012 | hf0eaf9b_1 1.1 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wheel-0.34.2 | py37_0 66 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wincertstore-0.2 | py37_0 14 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
------------------------------------------------------------
Total: 23.9 MB
The following NEW packages will be INSTALLED:
剩余14页未读,继续阅读
资源评论
熊猫眼眼
- 粉丝: 3
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功