openai / coinrun

Code for the paper "Quantifying Transfer in Reinforcement Learning"
https://blog.openai.com/quantifying-generalization-in-reinforcement-learning/
MIT License
388 stars 87 forks source link

Does not compile on the new Apple Silicon - M1 #45

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I am currently working on research in Reinforcement Learning and I have tried to benchmark my research work with other research paper on generalisation, and using some well known environments. I have tried several time to install / compile coinrun, but I was never successful, now I am blocked on installing baselines (required for coinrun) also from openai, which refuse to compile. Are you planning to release an M1 compatible version soon ?

Thanks a lot in advance.

esbenkc commented 1 year ago

I'm also experiencing issues on the M1 processor:

MacBook Pro (16-inch, 2021) Apple M1 Pro 32 GB

Receive this error whenever I try to run the environment:

[IN] python -m coinrun.interactive

[OUT] Logging to /var/folders/2f/_8yrpx7j16n793032bvbs9kr0000gn/T/openai-2022-12-14-17-59-38-800417
Mac, assumed python3, homebrew branch
mkdir -p .generated
mkdir -p .build-release
mkdir -p .build-debug
/usr/local/opt/qt5/bin/moc -o .generated/coinrun.moc coinrun.cpp
make: /usr/local/opt/qt5/bin/moc: No such file or directory
make: *** [.generated/coinrun.moc] Error 1
coinrun: make failed