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

Installing on Apple M1 #278

Open
fazaghifari opened this issue Dec 27, 2022 · 4 comments
Open

Installing on Apple M1 #278

fazaghifari opened this issue Dec 27, 2022 · 4 comments

Comments

@fazaghifari
Copy link

Hi!

I'm using an apple M1 laptop, I was trying to install acme via pip and having a problem with dm-launchpad

ERROR: Could not find a version that satisfies the requirement dm-launchpad==0.5.0 (from versions: none)
ERROR: No matching distribution found for dm-launchpad==0.5.0

Thanks,

Adam

@wbrenton
Copy link

wbrenton commented Jan 2, 2023

I'm also getting the same issue with launchpad as well as reverb. Both of those library's state that they are only available for Linux based OS's. I'm guessing we are both experiencing a OS compatibility issue?? Can anyone confirm? Are there any workarounds?

@ka00ri
Copy link

ka00ri commented Jan 4, 2023

Hi, I am using an M1 laptop as well, and can install acme without issues. I use a conda env with python 3.10 and Jax 0.4.1.

Successfully built dm-acme
Installing collected packages: dm-env, dm-acme
Successfully installed dm-acme-0.2.4 dm-env-1.6

@callumtilbury
Copy link

callumtilbury commented Jan 6, 2023

Acme uses Launchpad (dm-launchpad), which uses Reverb (dm-reverb), which only works natively on Linux OSes.
See: google-deepmind/reverb#11
Solution: use Docker

@fazaghifari
Copy link
Author

Hi, I am using an M1 laptop as well, and can install acme without issues. I use a conda env with python 3.10 and Jax 0.4.1.

Successfully built dm-acme
Installing collected packages: dm-env, dm-acme
Successfully installed dm-acme-0.2.4 dm-env-1.6

Hi @ka00ri , thanks for the solution! I also have successfully installed dm-acme without any issue. But in my case I also need to use TensorFlow. In which, it needs to install Launchpad and Reverb that only works natively in Linus OSes as @callumtilbury said.

Thanks!

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

4 participants