acme icon indicating copy to clipboard operation
acme copied to clipboard

Installing on Apple M1

Open fazaghifari opened this issue 2 years ago • 4 comments
trafficstars

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

fazaghifari avatar Dec 27 '22 09:12 fazaghifari

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?

wbrenton avatar Jan 02 '23 15:01 wbrenton

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

ka00ri avatar Jan 04 '23 21:01 ka00ri

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

callumtilbury avatar Jan 06 '23 15:01 callumtilbury

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!

fazaghifari avatar Jan 10 '23 05:01 fazaghifari