CondaError: Downloaded bytes did not match Content-Length
·
报错:CondaError: Downloaded bytes did not match Content-Length
原因:
conda安装包的时候下载的包的长度不够用,导致安装失败,常常是超时
解决办法:配置镜像
清华:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64/
阿里:http://mirrors.aliyun.com/anaconda/cloud/pytorch/win-64/
# 命令后面加 -c 镜像地址 ,如下:
Conda install cudatoolkit=版本 –c 镜像地址
☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺☺
我是韩一,用知识认识更多的人,欢迎大家指正!
更多推荐

所有评论(0)