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

PyScipOpt references old Scip version. Problem at import of pyscipopt #944

Open
windgaetter opened this issue Jan 14, 2025 · 2 comments
Open

Comments

@windgaetter
Copy link

Describe the bug
Since the last Scip update, PyScipOpt references the wrong libscip version. This results in an error when importing pyscipopt. Currently conda automatically installs Scip 9.2 and PyScipOpt 5.2.1

To Reproduce
Create conda environment and install pyscipopt from conda-forge. Try loading pyscipopt

Expected behavior
I would have expected, that the version is automatically updated or the referencing scip version fixed.

Screenshots

import pyscipopt
Traceback (most recent call last):
File "", line 1, in
File "/home/wind_lu/.conda/envs/test_env/lib/python3.12/site-packages/pyscipopt/init.py", line 11, in
from pyscipopt.scip import Model
ImportError: libscip.so.9.1: cannot open shared object file: No such file or directory

System

  • OS: Ubuntu
  • 22.04
  • Scip 9.2
  • conda-forge

Additional context

@Joao-Dionisio
Copy link
Collaborator

Hey @windgaetter, thanks for letting us know. In the meantime, can you try pip install pyscipopt and see if this works?

@windgaetter
Copy link
Author

That works for me. No error when I try to import it.

We use PyScipOpt in one of our conda packages. So,when you have that fix ready, we will be happy to use it again !

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