-
Notifications
You must be signed in to change notification settings - Fork 68
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
Installation broken on Ubuntu 22.04 with Conda 23.1.0 #173
Comments
I can replicate and it's strange. It's not a version mismatch, it's that
The last time I touched the build was about a year ago and at that time, we had changed some things to support building binary wheels for Linux and OS X. As such ,there are binary wheels for Linux available, but only for Python 3.7-3.9. It looks like conda is defaulting to Python 11, but if you create a conda environment with Python 3.9
and then
In the meantime, I'll see if I can chase down this issue. |
The problem traces back to the addition of this patch, which resulted in dependent libraries not being explicitly linked when building. The patch itself was actually added to prevent over-linking, which is the opposite problem. Everything seems to work now. Could you try by cloning the repo and pip installing from source? Feel free to re-open if there is a problem and thanks for reporting it! Once you confirm, I'll make a new release and also set up creation of wheels for Python 3.10 and 3.11. |
@tkralphs Seems to work fine now, thank you! |
By the way, there is now a new release with binary wheels for Linux with up to Python 3.11. |
Fyi @tkralphs , I faced the same issue on M1 mac.
(Also tried
I resolved this going down this path (using poetry)
Now, imports work and |
I have installed CyLP according to the instructions under "On Linux/macOS with conda: Installation from source".
Now, when trying to import
cylp.cy
I get the following error:There seems to be a version mismatch between
cylp
andcoin-or-cbc
.The text was updated successfully, but these errors were encountered: