pip install pytorch
Microsoft Windows [版本 10.0.19045.2965](c) Microsoft Corporation。保留所有权利。
C:\Users\bruce>pip install pytorch
Looking in indexes: httpsMirrorsAliyunCom/pypi/simple
Collecting pytorch
Downloading httpsMirrorsAliyunCom/pypi/packages/ee/67/f403d4ae6e9cd74b546ee88cccdb29b8415a9c1b3d80aebeb20c9ea91d96/pytorch-1.0.2.tar.gz (689 bytes)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pytorch
Building wheel for pytorch (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pytorch (pyproject.toml) did not run successfully.
│ exit code: 1
╰─>
Traceback (most recent call last):
File "D:\Python\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "D:\Python\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\Python\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\bruce\AppData\Local\Temp\pip-build-env-zmrxxka2\overlay\Lib\site-packages\setuptools\build_meta.py", line 416, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "C:\Users\bruce\AppData\Local\Temp\pip-build-env-zmrxxka2\overlay\Lib\site-packages\setuptools\build_meta.py", line 401, in _build_with_temp_dir
self.run_setup()
File "C:\Users\bruce\AppData\Local\Temp\pip-build-env-zmrxxka2\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\bruce\AppData\Local\Temp\pip-build-env-zmrxxka2\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 15, in <module>
Exception: You tried to install "pytorch". The package named for PyTorch is "torch"
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pytorch
Failed to build pytorch
ERROR: Could not build wheels for pytorch, which is required to install pyproject.toml-based projects 根据错误提示,应该使用 "torch" 而不是 "pytorch"。请尝试以下命令: pip install torch 。 isdkz 发表于 2023-5-13 13:05
根据错误提示,应该使用 "torch" 而不是 "pytorch"。请尝试以下命令: pip install torch 。
5秒??? isdkz 发表于 2023-5-13 13:05
根据错误提示,应该使用 "torch" 而不是 "pytorch"。请尝试以下命令: pip install torch 。
这么快?! isdkz 发表于 2023-5-13 13:05
根据错误提示,应该使用 "torch" 而不是 "pytorch"。请尝试以下命令: pip install torch 。
疑似小号 陶远航 发表于 2023-5-13 13:07
这么快?!
这个链接好坑,还非得把httpsmirrors aliyun com换掉 歌者文明清理员 发表于 2023-5-13 13:07
疑似小号
不,他使用了脚本,当帖子一发出来,帖子内容 sfqxx_小 发表于 2023-5-13 13:13
不,他使用了脚本,当帖子一发出来,帖子内容
我知道,但这么快像是小号 歌者文明清理员 发表于 2023-5-13 13:13
我知道,但这么快像是小号
不是,因为这个内容少,发过来很快
小号都不一定这么快
举报举报试试? sfqxx_小 发表于 2023-5-13 13:14
不是,因为这个内容少,发过来很快
小号都不一定这么快
算了,也不跟他比 歌者文明清理员 发表于 2023-5-13 13:05
5秒???
我去
{:10_257:} isdkz 发表于 2023-5-13 13:05
根据错误提示,应该使用 "torch" 而不是 "pytorch"。请尝试以下命令: pip install torch 。
isdkz,你被人超越咯 sfqxx 发表于 2023-5-13 16:02
isdkz,你被人超越咯
{:5_94:} sfqxx 发表于 2023-5-13 16:02
isdkz,你被人超越咯
我今天回学校答辩了{:10_277:} isdkz 发表于 2023-5-13 17:43
我今天回学校答辩了
?
页:
[1]