Installing Matplotlib: Solving environment failed

梦想与她 提交于 2019-12-25 01:55:20

问题


I'm following this tutorial to install openCV on my Mac. Im at the point "Step 4b: Installing OpenCV (2/3) through Conda(Custom)". I want to install Matplotlib whit this command:

conda install -c conda- forge matplotlib

But I get this error:

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

I googled and looked up on stack overflow, but nothing helps. Does someone know what to do and how can I fix this? I already activated the new environment whit

source activate ComputerVision

Thanks for your help.

来源:https://stackoverflow.com/questions/54423224/installing-matplotlib-solving-environment-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!