torchvision 安装出现错误

发布时间:2024-12-12 00:29

避免在简历中出现错别字或语法错误 #生活知识# #生活指南# #职场建议# #简历投递#

最新推荐文章于 2024-10-21 13:39:12 发布

Peanut_范 于 2019-05-13 17:44:21 发布

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

错误:
(base) C:\Users****_admin>pip install torchvision
Collecting torchvision
Using cached https://files.pythonhosted.org/packages/fb/01/03fd7e503c16b3dc262483e5555ad40974ab5da8b9879e164b56c1f4ef6f/torchvision-0.2.2.post3-py2.py3-none-any.whl
Requirement already satisfied: pillow>=4.1.1 in d:\python\lib\site-packages (from torchvision) (5.4.1)
Collecting torch (from torchvision)
Using cached https://files.pythonhosted.org/packages/5f/e9/bac4204fe9cb1a002ec6140b47f51affda1655379fe302a1caef421f9846/torch-0.1.2.post1.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File “”, line 1, in
File “C:\Users****_A~1\AppData\Local\Temp\pip-install-1_kj1dql\torch\setup.py”, line 11, in
raise RuntimeError(README)
RuntimeError: PyTorch does not currently provide packages for PyPI (see status at https://github.com/pytorch/pytorch/issues/566).

Please follow the instructions at http://pytorch.org/ to install with miniconda instead. ---------------------------------------- 123

ERROR: Command “python setup.py egg_info” failed with error code 1 in C:\Users****_A~1\AppData\Local\Temp\pip-install-1_kj1dql\torch\

解决:

不使用pip3 install torchvision

而使用 pip install --no-deps torchvision

网址:torchvision 安装出现错误 https://www.yuejiaxmz.com/news/view/448025

相关内容

scrubyt出现RubyInline (= 3.6.3)错误
安装pytorch1.0
pip 安装 pytorch环境
安装mysql修改root密码出现1064(42000)错误
导致400错误的原因是什么 出现400错误怎么办
打开Arc Map出现license错误代码=
智能安全实验室-全能优化(Guardio)错误解决(1):“出现异常:EXCEPTION
dart 错误
Windows10 通过conda安装PyTorch(流程记录)
springmvc 使用REST 出现此种错误:Request method 'PUT' not supported

随便看看