【发布时间】: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