conda install torch:
Channels:
- defaults
- conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- torch==1.11.0
Current channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- https://repo.anaconda.com/pkgs/msys2
- https://conda.anaconda.org/conda-forge
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
换成pip就好了
pip install torch
Collecting torch==1.11.0
Downloading torch-1.11.0-cp39-cp39-win_amd64.whl.metadata (24 kB)
Collecting typing-extensions (from torch==1.11.0)
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Downloading torch-1.11.0-cp39-cp39-win_amd64.whl (157.9 MB)
---------------------------------------- 157.9/157.9 MB 1.7 MB/s eta 0:00:00
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: typing-extensions, torch
Successfully installed torch-1.11.0 typing-extensions-4.12.2
7401

被折叠的 条评论
为什么被折叠?



