Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Installing via conda cloud channel #206

Open
MagAtOQ opened this issue Jun 1, 2022 · 3 comments
Open

Problem Installing via conda cloud channel #206

MagAtOQ opened this issue Jun 1, 2022 · 3 comments

Comments

@MagAtOQ
Copy link

MagAtOQ commented Jun 1, 2022

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:

  • cma

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:

  • cma_

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
Copy link
Author

MagAtOQ commented Jun 1, 2022

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
Copy link
Contributor

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
Copy link
Author

MagAtOQ commented Jun 5, 2022

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

  • your command
  • conda install --channel "cma-es" package ( to install the channel... just a try)
  • conda install --channel cma-es package
    None of the 3 tests gave a positive output. Always the same feedback from the prompt... Strange...

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants