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

Mac users: application "Soil applications -->Ensomap" not available #327

Closed
chabrillat opened this issue Jan 16, 2023 · 6 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@chabrillat
Copy link

For users of Macintosh laptops, the application 'soil application' is not listed in the list of applications, making EnSoMAP not accessible.
This was observed with QGIS 3.28.1 and version 3.11.1 of EnMAP-Box on a load of Master students running EnMAP-Box on their own laptops. 3 of them had Macintosh laptops and 3 of them were without Ensomap.
It did not use to be the case (previous versions had EnSOMAp in it, also on Mac laptops). What a pain QGIS.
thank you

@sguillaso
Copy link
Contributor

To manage to run EnSoMap with the last version of QGIS (3.28.1) and EnMAP-Box (3.11.1) on a mac here is the following instructions to be run in a terminal (After using instructions given in https://enmap-box.readthedocs.io/en/latest/usr_section/usr_installation.html#install-required-python-packages):

/Applications/QGIS.app/Contents/MacOS/bin/pip3 install sympy
/Applications/QGIS.app/Contents/MacOS/bin/pip3 install numba==0.56.4

@janzandr
Copy link
Contributor

I can't reproduce this on Windows with QGIS 3.28 and v3.11.1
@jakimowb, can you check this on MacOS?

@janzandr janzandr added the bug Something isn't working label Jan 20, 2023
@janzandr janzandr added this to the 3.12.0 milestone Jan 20, 2023
@jakimowb
Copy link
Contributor

@sguillaso @chabrillat is there a specific reasion why numba has to be locked to version 0.56.4?

/Applications/QGIS.app/Contents/MacOS/bin/pip3 install numba==0.56.4

I would prefere to make it a minimum requirement and allow to have following number versions as well, i.e. numba>=0.56.4

@sguillaso
Copy link
Contributor

sguillaso commented Jan 24, 2023 via email

jakimowb added a commit that referenced this issue Jan 24, 2023
Signed-off-by: jakimowb <benjamin.jakimow@geo.hu-berlin.de>
@jakimowb
Copy link
Contributor

FYI: qgis/QGIS#51557

jakimowb added a commit that referenced this issue Jan 24, 2023
…updates of other packages by pip install -U -r requirements.txt

Signed-off-by: jakimowb <benjamin.jakimow@geo.hu-berlin.de>
jakimowb added a commit that referenced this issue Jan 24, 2023
Signed-off-by: jakimowb <benjamin.jakimow@geo.hu-berlin.de>
@jakimowb
Copy link
Contributor

@sguillaso I added

sympy # required by EnSoMAP
numba>=0.56.4 # required by EnSoMAP

to the requirements.txt and updated the install docs to run pip3 with -U:

/Applications/QGIS.app/Contents/MacOS/bin/pip3 install -U -r https://raw.githubusercontent.com/EnMAP-Box/enmap-box/main/requirements.txt

EnSoMAP now started without problems, howerver, you may better test if the algorithms run as expected as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants