反思:之前看到报错经常是直接复制报错信息去网上搜,但很多情况下报错信息里其实就给出了解决方案
报错信息:
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels:- orderedsetCurrent 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/noarchTo search for alternate channels that may provide the conda package you're
looking for, navigate tohttps://anaconda.organd use the search bar at the top of the page.
报错信息提示:
为搜索你所要寻找的conda库的替换渠道,导航至https://anaconda.org,并在页面顶部的搜索栏搜索。
我要找的包是orderedset,如下图:
划到页面最底部,有conda install的命令,安装即可。