1
votes

I tried each of the following command lines in Anaconda Prompt:

  1. conda install -c conda-forge coincbc

  2. conda install -c conda-forge/label/gcc7 coincbc

  3. conda install -c conda-forge/label/cf201901 coincbc

and I get the following error in all cases:

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  • coincbc

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 can be the possible reason for this error?

4

4 Answers

1
votes

This is what worked for me (Windows 10, Anaconda, working in an environment my_env):

  • I downloaded the most recent binaries from bintray (for me, that was Cbc-master-win64-msvc16-md.zip)
  • I unzipped the file
  • I copied the contents of the bin directory (Cbc-master-win64-msvc16-md\bin)
  • I pasted these .exe and .dll files in anaconda\envs\my_env\Library\bin
0
votes

Sorry, but there are no win-64 builds for that package on Anaconda Cloud. Try following the suggestions on the GitHub repository for alternative installation routes.

0
votes

I resolve use in anaconda prompt

pip install cbcpy
0
votes

The package name in conda-forge seems to be coin-or-cbc.

That said, conda-forge makes it available for Linux and macOS but not for Windows. See: