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

You have installed version 2.10.8 of Cbc, which is not supported by Cbc.jl #210

Closed
sklink opened this issue Nov 1, 2022 · 4 comments
Closed

Comments

@sklink
Copy link

sklink commented Nov 1, 2022

I have added Cbc via add Cbc in Julia REPL. The build works fine on my Mac with M1 but on GitHub Actions and on my Windows PC I receive this error:

Failed to precompile MyPackage [e2d255a6-a9f0-4867-97a6-ac6706df2382] to /var/runtime/julia_depot/compiled/v1.8/MyPackage/jl_lkG0IL.
ERROR: LoadError: You have installed version 2.10.8 of Cbc, which is not supported by
Cbc.jl We require Cbc version 2.10. After installing Cbc 2.10, run:

    import Pkg
    Pkg.rm("Cbc")
    Pkg.add("Cbc")

If you have a newer version of Cbc installed, changes may need to be made
to the Julia code. Please open an issue at
https://github.com/jump-dev/Cbc.jl.

My understanding is that Cbc.jl is the one installing those binaries -- I don't have them pre-installed anywhere.

@sklink
Copy link
Author

sklink commented Nov 1, 2022

I attempted to remove it from the Manifest.toml through remove Cbc beforehand which seemed to help with the issue but ultimately ran into the same error.

@sklink sklink closed this as completed Nov 1, 2022
@sklink sklink reopened this Nov 1, 2022
@odow
Copy link
Member

odow commented Nov 1, 2022

Please update your packages. This is fixed in v1.0.3 of Cbc.jl.

@sklink
Copy link
Author

sklink commented Nov 1, 2022

I only attempted to install Cbc.jl yesterday, so I believe it should've defaulted to the latest version. We've moved on to using HiGHs instead but I'll give this another shot if we need to switch back.

@odow
Copy link
Member

odow commented Nov 1, 2022

We've moved on to using HiGHs

Great!

I'll give this another shot if we need to switch back.

Closing this issue because as far as I'm aware, this is fixed in the latest version. There may have been some other version incompatibilities going on. Hard to say without knowing the details. Please re-open if you can reproduce in future, and provide the output of import Pkg; Pkg.status().

@odow odow closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants