安装Matplotlib:解决环境失败

时间:2019-01-29 14:27:36

标签: python opencv installation anaconda

我正在遵循此tutorial在Mac上安装openCV。 我在“步骤4b:通过Conda(Custom)安装OpenCV(2/3)”这一点上。 我想用以下命令安装Matplotlib:

conda install -c conda- forge matplotlib

但是我得到这个错误:

Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/conda-/noarch/repodata.json>
Elapsed: 00:00.461192
CF-RAY: 4a0c52fec9b0c4c9-DUS

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

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>.

我用Google搜索并查找了堆栈溢出,但没有任何帮助。 有人知道该怎么办,我该如何解决? 我已经激活了新环境

source activate ComputerVision

感谢您的帮助。

0 个答案:

没有答案
相关问题