gym[atari] - error: [Errno 2] No such file or directory: 'cmake'
See original GitHub issuein 3.3.0
gym[atari] fails (with or without cmake in packagesExtra) :
copying atari_py/ale_interface/src/module.mk -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src
creating build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/FSNodePOSIX.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/FSNodeWin32.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/OSystemUNIX.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/OSystemUNIX.hxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/OSystemWin32.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/OSystemWin32.hxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/SettingsUNIX.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/SettingsUNIX.hxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/SettingsWin32.cxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/SettingsWin32.hxx -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
copying atari_py/ale_interface/src/os_dependent/module.mk -> build/lib.linux-x86_64-3.8/atari_py/ale_interface/src/os_dependent
creating build/lib.linux-x86_64-3.8/atari_py/atari_roms
copying atari_py/atari_roms/tetris.bin -> build/lib.linux-x86_64-3.8/atari_py/atari_roms
copying atari_py/atari_ntsc_rgb_palette.h -> build/lib.linux-x86_64-3.8/atari_py
copying atari_py/package_data.txt -> build/lib.linux-x86_64-3.8/atari_py
creating build/lib.linux-x86_64-3.8/atari_py/tests
copying atari_py/tests/__init__.py -> build/lib.linux-x86_64-3.8/atari_py/tests
copying atari_py/tests/test_smoke.py -> build/lib.linux-x86_64-3.8/atari_py/tests
running build_ext
error: [Errno 2] No such file or directory: 'cmake'
builder for '/nix/store/vplghxz66sn4c7dhz6cr5rj12jcvlmwn-python3.8-atari-py-0.2.9.drv' failed with exit code 1
cannot build derivation '/nix/store/f6mgcsgpr75i6xhnfvvlw2mva1awhfa9-python3-3.8.9-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/f6mgcsgpr75i6xhnfvvlw2mva1awhfa9-python3-3.8.9-env.drv' failed
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How to install the OpenAi's Gym Atari dependencies on linux?
Try installing 'cmake'. I was facing the same problem, but it turns out cmake was missing. sudo apt-get install cmake.
Read more >Install atari[gym] with mach-nix (i.e. build-time cmake availability)
... creating build/lib.linux-x86_64-3.8/atari_py/tests running build_ext error: [Errno 2] No such file or directory: 'cmake' builder for ...
Read more >[Errno 2] No such file or directory: 'cmake' after running script ...
It looks like it is unable to find cmake when running from Spyder and that is probably a PATH issue. You received this...
Read more >linux安装atari环境实录_无穷升高的卡农的博客
创建新环境2.cmake配置2.1 安装cmake2.2 安装zlib3. ... 就是重装pip,参考:pip安装出现FileNotFoundError: [Errno 2] No such file or directory: ...
Read more >python requirements.txt git | The search engine you control.
This should not be anything more than a python bug . ... pip install -r requirements.txt [Errno 2] No such file or directory:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, @tfmoraes - I just discovered it was a typo on my end that was keeping me from entering the shell. After fixing the typo and using the
shell.nix
you posted above, I had no problems.for the box2d envs what worked for me was putting box2d-py in my requirements and
_.box2d-py = { nativeBuildInputs.add = with pkgs; [ swig ]; };
in the mach-nix config