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

Not working on M1 Macs #51

Open
simonblund opened this issue Jan 13, 2022 · 2 comments
Open

Not working on M1 Macs #51

simonblund opened this issue Jan 13, 2022 · 2 comments

Comments

@simonblund
Copy link

simonblund commented Jan 13, 2022

Hi!
I was trying to test out cube in a box on my computer, however I failed on the first step. When running 'make setup' I get this error:
'ERROR: could not build wheels for numpy which use PEP 517 and cannot be installed directly'

@andouk-kkd
Copy link

Just by doing "bash setup.sh"
The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
Please visit http://www.java.com for information on installing Java.

We currently do not support your OS

It does not work on M1 Macs?

@jameshalgren
Copy link

jameshalgren commented Jul 1, 2022

The bash setup does not work, but with some poking and prodding, I was able to load the amd64 versions of the containers and use at least some of the functionality (see images below). The critical fix was to include and explicit export of the docker platform thus: export DOCKER_DEFAULT_PLATFORM=linux/amd64 as explained on SO.

Aside: I worked on getting this going with a minikube installation as described here (or here), but ultimately had to drop back to the docker installation. I think we qualify as a .edu for the license but my preference is always to with lesser-licensed solutions. The closest I came with the minikube install was by using minikube start --driver qemu2

@felipk101 @RichardScottOZ (others?)
Would you like me to take a stab at generating arm64 versions of the containers? (I'll more than likely need some coaching, but I'm willing to give it a shot...)

Note: will update the following images to show success/failure of the CIAB example notebooks
The ESRI Land Cover notebook appears to run:
image

The Sentinel2 notebook seems to have some indexing issues:
image

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