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

William_csj

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


报错内容:

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


上一篇: Vscode——报错解决:Unable to start debugging.Unexpected GDB output from command. 或 程序点击运行一直无结果

下一篇: Anaconda——安装并配置清华镜像的方法

成功解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo

成功解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo目录解决问题解决思路解决方法解决问题conda install ‐‐channel https://conda.anaconda...

成功解决PackagesNotFoundError: The following packages are not available from current channels nyoka

成功解决PackagesNotFoundError: The following packages are not available from current channels nyoka目录解决问题解决思路解决方法解决问题(base) C:\Users\niu>conda install nyokaCollecting package metadata (current_repodata.json): done...

ios 用户信息本地存储 iphone用户数据

本文通过偏好设置,plist文件,归档解档三种方法来演示iOS应用程序用户数据存储机制。首先,我们创建一个Person类,并定义三个成员属性,用来存储数据@property (nonatomic,copy) NSString *name; @property (nonatomic,assign)NSInteger age; @property (nonatomic,assign)BOOL is