【问题标题】:I spoiled Anaconda我宠坏了蟒蛇
【发布时间】:2020-05-17 03:54:29
【问题描述】:

我正在使用 IBM Watson Studio Jupyter Notebook。当我尝试使用 !conda config --append channels https://anaconda.org 添加新频道 http://anaconda.org 时。现在,当我尝试安装任何软件包时出现错误:

Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/noarch/repodata.json>
Elapsed: 00:00.786398
CF-RAY: 55dbd84b6f44bf00-FRA

The remote server could not find the noarch directory for the
requested channel with url: https://anaconda.org

As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.

【问题讨论】:

  • anaconda.org 不是频道。你想完成什么?
  • 我想安装地理编码器包。但是默认频道不可用。

标签: python anaconda installation channels


【解决方案1】:

https://anaconda.org 不是频道。您需要通过以下方式将其从配置中删除:

conda config --remove channels https://anaconda.org

【讨论】:

  • 我可以回到 Anaconda 的默认设置吗?
  • 删除位于 HOME 或 USERPROFILE 文件夹中的 .condarc 文件。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2010-10-27
  • 2010-10-21
  • 2016-05-28
  • 2014-08-01
  • 2021-06-28
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多