CMA-ES / pycma

Python implementation of CMA-ES
Other
1.08k stars 177 forks source link

Problem Installing via conda cloud channel #206

Open MagAtOQ opened 2 years ago

MagAtOQ commented 2 years ago

Dear all,

I've been using CMA-ES a couple of years ago and would like to get back to it.

I'm using Anaconda, with Navigator 2.2.0 and win10.

Trying to keep the consistency in package updates, I would like to install CMA using conda install. After moving to my project environment in anaconda, I'm launching the CMD.exe Prompt (vers. 0.1.1) and use the command: conda install --channel cma-es cma

The problem is rising after this. Here is the feedback from the terminal:

############################################################## Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page. ##############################################################

What disturb me a bit is the output:

The following packages are not available from current channels:

it doesn't seem to take the "-es" into account. Is that a win10 problem?

How can I overcome that problem? Any idea?

In any case, thanks a lot!

With regards

MagAtOQ commented 2 years ago

Small update: I've been adding the cma-es channel manually to anaconda. It does appear in the "Channels" tab from "Environments"... But still no effect on the message returned by "conda install" command.

nikohansen commented 2 years ago

My understanding of the documentation suggests the following command for installation:

conda install --channel "cma-es" cma

I guess the quotation marks are important here.

MagAtOQ commented 2 years ago

I had a try... it doesn't seem to work. I tried:

Anyway... I cheated a bit, using the pip install. May generate problems in the future but from now, it will do the job. If I have new info, I'll post them here.

Thanks again for your feedback!