-
Notifications
You must be signed in to change notification settings - Fork 69
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
CyLP can't detect CBC obtained from conda-forge "coin-or-cbc" #118
Comments
I believe this should be fixed now in release 0.91.3. There was a small bug that escaped detection and prevented detecting a Cbc installed by Conda. Can you try it? |
@tkralphs it works now! I successfully installed ran this example on the repo landing page: https://github.com/coin-or/CyLP#modeling-example. If anyone has trouble with the install then I recommend they run |
Great, thanks for testing and letting me know. In the meantime, I ended up making a second release 0.91.4 because one of the changes I made didn't work with Cbc 2.9, which is still the default version in some Ubuntu distros. |
@rileyjmurray I wanted to add that I realized the "right" way to do this would have been to use a conda installed version of pkg-config, which nicely finds conda installed libraries with pkg-config files. If you just |
@tkralphs thanks for the update! To be honest this is the first I've heard of pkg-config. Looking at the Wikipedia page I'm amazed that I've gone this long without using it. |
Per an exchange with @tkralphs, this issue is just to make note of some installation trouble I've had with CyLP.
Several months ago I tried installing CyLP on my macbook with no success. At the time I tried CBC from source, but if I remember correctly the process of compiling CBC failed (likely due to missing or badly-linked libraries on my mac).
I also tried installing CyLP a few days ago on a linux box (Ubuntu 20.04, Conda 4.9.2). I was able to install CBC and other packages through conda's "coin-or-cbc" package, but
pip install cylp
still fails. Terminal logging for both installation steps is given below. It's hard for me to figure out how to follow the directions in the error message frompip install cylp
since I'm not sure where the relevant files live insideriley/acaconda3/envs/cbc38/...
.Installing coin-or-cbc
pip install cylp
The text was updated successfully, but these errors were encountered: