-
Notifications
You must be signed in to change notification settings - Fork 1
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
Docker fails for Mac M1 chip due to qemu bug #1
Comments
Thanks very much for the report @mszell!!! I'm looping in @martinfleis who has some experience on this to let him weigh in. |
Hi @mszell, In the meantime, I recommend using conda/mamba that runs natively and installs arm64 versions. The best option is probably mambaforge https://github.com/conda-forge/miniforge#mambaforge. I am keeping an eye on the migration of remaining packages and will post updates in darribas/gds_env#72 once I have some. I hope that the next iteration of the container will have both versions. |
Thanks! For myself I had no problem with the native installs (the gds .yml worked like a breeze!), so maybe I will just recommend that for those students that have M1 chips (if any) - seems easy enough. The first class will be Feb 3. If you haven't managed to create the aarch64 by then no worries, happy to let you know my workaround then. |
Are you sure you are installing native versions? Because in |
Thanks, you are probably right. I am starting to lose the overview. It's https://xkcd.com/1987/ all over again, just with architectures.. |
Update: I have searched around more and found that you are already aware elsewhere: darribas/gds_env#72 (comment) 👍
I guess I still leave this issue here as it also affects the install pages.
Hi,
I am trying to make the docker image run on a new MacBook Pro with an M1 chip (arm64), not an Intel chip (amd64).
Using gds version 6.1 I can run all the steps until I open the Jupyter lab on localhost:8888. Here I get a "Failed to fetch" kernel error and Jupyter crashes with the terminal message:
Already when I run the docker image I get this warning:
I have searched around and it seems to be a bug with qemu on which docker relies: docker/for-mac#5148 (comment)
Same issue btw with the newer gds_py:7.0
Long story short, it seems one would need to have an arm64 docker container to make this run on Macs with an M1 chip. Since M1 have become mainstream this could be a good idea to look into. What would it take to create such an arm64 container?
(I have no experience with docker but if I can be useful I am happy to help out creating an appropriate container - I plan to teach this kind of material soon and want to avoid dealing with messy native installs).
Thx for the awesome work - Cheers!
The text was updated successfully, but these errors were encountered: