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

dependencies, gdal/osgeo #25

Closed
mollenburger opened this issue Feb 11, 2020 · 2 comments
Closed

dependencies, gdal/osgeo #25

mollenburger opened this issue Feb 11, 2020 · 2 comments

Comments

@mollenburger
Copy link

I'm installing this into a fresh python 3.5 anaconda evironment on mac osx 10.14.6.

Installation as per readme file returned no errors, however when trying to folow an example I couldn't import museotoolbox.

initially, I got an error like "couldn't find osgeo" so I installed gdal via conda, then tried again, got the following:
ImportError: dlopen(//anaconda/envs/ipykernel_py3/lib/python3.5/site-packages/osgeo/_gdal.so, 2): Library not loaded: @rpath/libjpeg.8.dylib
Referenced from: /anaconda/envs/ipykernel_py3/lib/libgdal.20.dylib
Reason: image not found

Eventual solution found here: https://hackernoon.com/install-python-gdal-using-conda-on-mac-8f320ca36d90 -- downgrade jpeg from 9 to 8: conda install -f jpeg=8

probably should include gdal as a dependency and maybe flag the jpeg problem on the readme to save someone some time

cc: openjournals/joss-reviews#1978

@nkarasiak
Copy link
Owner

Hello @mollenburger,

In order to ease the installation process with conda and to have a working installation, I've submited Museo ToolBox to conda-forge repository : conda-forge/staged-recipes#10863 (comment).
I'm currently awaiting for the forge to include my library.

Kind regards,
Nicolas.

@nkarasiak
Copy link
Owner

Hi @mollenburger,
You can now install museotoolbox directly in conda, so it should be better for you as conda is checking if library is working for each OS.
To install museotoolbox from conda, see here : https://github.com/conda-forge/museotoolbox-feedstock#installing-museotoolbox
Let me know if it works now.

Kind regards,
Nicolas

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