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

how to fix import pygimli error libcholmod.so.3 on Mybinder #722

Open
stefanazzz opened this issue May 20, 2024 · 5 comments
Open

how to fix import pygimli error libcholmod.so.3 on Mybinder #722

stefanazzz opened this issue May 20, 2024 · 5 comments

Comments

@stefanazzz
Copy link

stefanazzz commented May 20, 2024

Problem description

When trying to run from my Github repository using MyBinder,
import pygimli gives the following error:

"libcholmod.so.3: cannot open shared object file: No such file or directory (...)"

This can be fixed by adding python=3.8 to the yml environment file (see file below)

Your environment

from environment.yml file on github:

channels:
  - conda-forge
  - gimli
  - defaults
dependencies:
  - python=3.8          <-- add this line to make "import pygimli" work correctly
  - pygimli>=1.1.0

Notes

I suppose that 1.1.0 is compatible only with 3.8 not more recent versions. Note that pygimli >=1.5.0 shows the same problem when compiled with the current (May 2024) default mybinder python 3.11.x. I tried a few combinations but so far only 1.1.0 and 3.8 seem to work on mybinder.

@stefanazzz stefanazzz changed the title how to fix import pygimli error on Mybinder how to fix import pygimli error libcholmod.so.3 on Mybinder May 20, 2024
@halbmy
Copy link
Contributor

halbmy commented May 20, 2024

Can you try using pip install pygimli instead?

@stefanazzz
Copy link
Author

stefanazzz commented May 21, 2024 via email

@ruboerner
Copy link

Is #721 (comment) probably related?

@stefanazzz
Copy link
Author

stefanazzz commented May 24, 2024 via email

@stefanazzz
Copy link
Author

stefanazzz commented May 24, 2024 via email

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

3 participants