|
发表于 2023-10-19 13:19:22
|
显示全部楼层
还是不行,一直报错
Microsoft Windows [版本 10.0.19045.3030]
(c) Microsoft Corporation。保留所有权利。
H:\codeFormer-GUI-20221230>.\_internal\Python37\python.exe -mpip show torch
Name: torch
Version: 1.9.0+cu111
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email: packages@pytorch.org
License: BSD-3
Location: h:\codeformer-gui-20221230\_internal\python37\lib\site-packages
Requires: typing-extensions
Required-by: lpips, torchvision
H:\codeFormer-GUI-20221230>.\_internal\Python37\python.exe -mpip install torch==1.13.1 cu117 torchvision==0.14.1 cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1
Downloading https://download.pytorch.org/whl ... cp37m-win_amd64.whl (2255.6 MB)
---------------------------------------- 2.3/2.3 GB 943.8 kB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement cu117 (from versions: none)
ERROR: No matching distribution found for cu117
[notice] A new release of pip available: 22.3.1 -> 23.3
[notice] To update, run: H:\codeFormer-GUI-20221230\_internal\Python37\python.exe -m pip install --upgrade pip
H:\codeFormer-GUI-20221230>.\_internal\Python37\python.exe -mpip show torch
Name: torch
Version: 1.9.0+cu111
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email: packages@pytorch.org
License: BSD-3
Location: h:\codeformer-gui-20221230\_internal\python37\lib\site-packages
Requires: typing-extensions
Required-by: lpips, torchvision
H:\codeFormer-GUI-20221230>.\_internal\Python37\python.exe -mpip install torch==1.13.1 cu117 torchvision==0.14.1 cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1
Using cached https://download.pytorch.org/whl ... cp37m-win_amd64.whl (2255.6 MB)
ERROR: Could not find a version that satisfies the requirement cu117 (from versions: none)
ERROR: No matching distribution found for cu117
[notice] A new release of pip available: 22.3.1 -> 23.3
[notice] To update, run: H:\codeFormer-GUI-20221230\_internal\Python37\python.exe -m pip install --upgrade pip
H:\codeFormer-GUI-20221230> H:\codeFormer-GUI-20221230\_internal\Python37\python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in h:\codeformer-gui-20221230\_internal\python37\lib\site-packages (22.3.1)
Collecting pip
Downloading pip-23.3-py3-none-any.whl (2.1 MB)
---------------------------------------- 2.1/2.1 MB 496.9 kB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.3.1
Uninstalling pip-22.3.1:
Successfully uninstalled pip-22.3.1
WARNING: The scripts pip.exe, pip3.7.exe and pip3.exe are installed in 'H:\codeFormer-GUI-20221230\_internal\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-23.3
H:\codeFormer-GUI-20221230>.\_internal\Python37\python.exe -mpip install torch==1.13.1 cu117 torchvision==0.14.1 cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1
Downloading https://download.pytorch.org/whl ... cp37m-win_amd64.whl (2255.6 MB)
---------------------------------------- 2.3/2.3 GB 472.6 kB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement cu117 (from versions: none)
ERROR: No matching distribution found for cu117
WARNING: There was an error checking the latest version of pip.
H:\codeFormer-GUI-20221230> |
|