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

Not working on Windows 10 #38

Closed MarcoMeter closed 4 years ago

MarcoMeter commented 4 years ago

Hello everybody,

running python -m coinrun.interactive on Windows outputs this error:

'QT_SELECT' is not recognized as an internal or external command,
operable program or batch file.
coinrun: make failed

This is how I installed Qt:

  1. Download qt-opensource-windows-x86-5.13.1 https://www.qt.io/offline-installers

  2. Install Qt

Qt

  1. Restart

Also, I installed GnuWin32 using the complete package setup http://gnuwin32.sourceforge.net/packages/make.htm

Did anybody got CoinRun working on Windows yet?

MarcoMeter commented 4 years ago

I also tried running the os command without "QT_SELECT=5" and that raised this issue:

process_begin: CreateProcess(NULL, uname -s, ...) failed.
make: Entering directory `D:/Pleines/Repositories/coinrun/coinrun'
o .generated/coinrun.moc coinrun.cpp
process_begin: CreateProcess(NULL, o .generated/coinrun.moc coinrun.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
make: [.generated/coinrun.moc] Error 2 (ignored)
gcc -std=c++11 -Wall -Wno-unused-variable -Wno-unused-function -Wno-deprecated-register -fPIC -g -O3 -march=native ` --cflags Qt5Widgets` -c coinrun.cpp  -o.build-release/coinrun.o -MMD -MF .build-release/coinrun.o.dep
gcc: error: `: No such file or directory
gcc: error: Qt5Widgets`: No such file or directory
gcc: error: unrecognized command line option '--cflags'
make: *** [.build-release/coinrun.o] Error 1
make: Leaving directory `D:/Pleines/Repositories/coinrun/coinrun'
coinrun: make failed
vfleon commented 4 years ago

I also tried to run it on Windows 10. But after several tries including different versions and environment settings, I guess qt5 on windows can't support to run this project... Waiting for an official reply...

christopherhesse commented 4 years ago

I'm afraid windows isn't a supported platform for this release, please try out https://github.com/openai/procgen which does support windows.