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
Error in installing pygimli in mac M1 #618
Comments
Dear @makeabhishek, can you please try with pygimli 1.4.6 again? Best wishes for the new year |
Dear @florian-wagner Tried to install but still getting following error.
|
I just had the same issue on an M3 Macbook. pygimli tries to load shared libraries, like, e.g., libcholmod.3.dylib and libumfpack.5.dylib, but can't find them (no such file). I inspected the directory where the libraries are installed. In my case there have been newer version than those expected by pygimli. I solved the problem by adding symbolic links pointing to the already installed versions. Example: In the directory $HOME/miniconda3/envs/pg/lib (adapt the path to your specific case) do the following: Note the release of the installed libraries:
Look for, e.g., libumfpack.6.0.1.dylib, then make a symbolic link to the version required by pygimli (which is the missing file in the runtime error message).
Repeat these steps for libcholmod.*.dylib This has solved my problem in some brute-force manner. The reason seems to be a side effect from some other packages' requirements. Cheers, |
Dear @ruboerner, thank you for the valuable feedback. Hardlinking to specific versions of umfpack and cholmod should not be necessary. We have have to fix this from our side. And: Congratulations on the M3! Florian |
Problem description
Error in importing
pygimli
. I installed pygimli in mac m1 max, but importing pygimli is giving error. I also tried to install byCONDA_SUBDIR=osx-arm64 conda create -n pg -c gimli -c conda-forge pygimli=1.4.5
. But same issueYour environment
Operating system: MacOS Monterey version 12.7.1
Chip Apple M1 Max
Python version: 3.11.6
pyGIMLi version: Output of
print(pygimli.__version__)
NameError: name 'pygimli' is not defined
Way of installation: e.g. Conda package, manual compilation from source, etc.
conda create -n pg -c gimli -c conda-forge pygimli=1.4.
Installation goes successfull
Steps to reproduce
Tell us how to reproduce this issue. Ideally, you could paste the code that produces the error:
The text was updated successfully, but these errors were encountered: