首页 > 其他分享 >报错解决——conda安装torch时,PackagesNotFoundError: The following packages are not available from current

报错解决——conda安装torch时,PackagesNotFoundError: The following packages are not available from current

时间:2022-12-07 12:07:50浏览次数:44  
标签:available PackagesNotFoundError repo 报错 pkgs https anaconda solve com


报错内容:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

- torch

Current channels:

- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch

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.

报错解决——conda安装torch时,PackagesNotFoundError: The following packages are not available from current_torch

解决办法:

pip install torch


标签:available,PackagesNotFoundError,repo,报错,pkgs,https,anaconda,solve,com
From: https://blog.51cto.com/u_15905131/5918500

相关文章