Hy,
did anyone got nle running on windows 10 yet??
EDIT: If windows is not supported: What about ubuntu 20, 19 or 18?
I can run everythin in the docker container, but since I do not have PyCharm Pro I can not debug into it so I would like to run it local in a virtual env (e.g. anaconda)
I am working on Windows 10 and set up an anaconda environment.
I installed cmake with “conda install cmake”.
I am not able to install nle:
(neurips-2021-the-nethack-challenge) C:\Development\ai\neurips-2021-the-nethack-challenge>python --version
Python 3.8.11
(neurips-2021-the-nethack-challenge) C:\Development\ai\neurips-2021-the-nethack-challenge>cmake --version
cmake version 3.19.6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
(neurips-2021-the-nethack-challenge) C:\Development\ai\neurips-2021-the-nethack-challenge>pip install nle
Collecting nle
Using cached nle-0.7.3.tar.gz (6.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Collecting numpy>=1.16
Using cached numpy-1.21.2-cp38-cp38-win_amd64.whl (14.0 MB)
Collecting pybind11>=2.2
Using cached pybind11-2.7.1-py2.py3-none-any.whl (200 kB)
Collecting gym>=0.15
Using cached gym-0.19.0-py3-none-any.whl
Collecting cloudpickle<1.7.0,>=1.2.0
Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB)
Building wheels for collected packages: nle
Building wheel for nle (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\ppuntschart\Anaconda3\envs\neurips-2021-the-nethack-challenge\python.exe' 'C:\Users\ppuntschart\Anaconda3\envs\neurips-2021-the-nethack-challenge\lib\site-pac
kages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\PPUNTS~1\AppData\Local\Temp\tmpyavts0zi'
cwd: C:\Users\ppuntschart\AppData\Local\Temp\pip-install-tmnyhyqn\nle_ff5fe6a0b48b4cc684fecd65e732a32c
Complete output (45 lines):
fatal: not a git repository (or any of the parent directories): .git
Building wheel nle-0.7.3
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\nle
copying nle\version.py -> build\lib.win-amd64-3.8\nle
copying nle\__init__.py -> build\lib.win-amd64-3.8\nle
creating build\lib.win-amd64-3.8\nle\env
copying nle\env\base.py -> build\lib.win-amd64-3.8\nle\env
copying nle\env\tasks.py -> build\lib.win-amd64-3.8\nle\env
copying nle\env\__init__.py -> build\lib.win-amd64-3.8\nle\env
creating build\lib.win-amd64-3.8\nle\nethack
copying nle\nethack\actions.py -> build\lib.win-amd64-3.8\nle\nethack
copying nle\nethack\nethack.py -> build\lib.win-amd64-3.8\nle\nethack
copying nle\nethack\__init__.py -> build\lib.win-amd64-3.8\nle\nethack
creating build\lib.win-amd64-3.8\nle\agent
copying nle\agent\agent.py -> build\lib.win-amd64-3.8\nle\agent
copying nle\agent\vtrace.py -> build\lib.win-amd64-3.8\nle\agent
copying nle\agent\__init__.py -> build\lib.win-amd64-3.8\nle\agent
creating build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\check_nethack_speed.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\collect_env.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\play.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\plot.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\read_heaplog.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\read_tty.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\test_raw_nethack.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\ttyplay.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\ttyplay2.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\ttyrec.py -> build\lib.win-amd64-3.8\nle\scripts
copying nle\scripts\__init__.py -> build\lib.win-amd64-3.8\nle\scripts
package init file 'nle\tests\__init__.py' not found (or not a regular file)
creating build\lib.win-amd64-3.8\nle\tests
copying nle\tests\test_envs.py -> build\lib.win-amd64-3.8\nle\tests
copying nle\tests\test_nethack.py -> build\lib.win-amd64-3.8\nle\tests
copying nle\tests\test_profile.py -> build\lib.win-amd64-3.8\nle\tests
running build_ext
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Users/ppuntschart/AppData/Local/Temp/pip-install-tmnyhyqn/nle_ff5fe6a0b48b4cc684fecd65e732a32c/build/temp.win-amd64-3.8/Release/CMakeFiles/CMakeOutput.log".
----------------------------------------
ERROR: Failed building wheel for nle
Failed to build nle
ERROR: Could not build wheels for nle which use PEP 517 and cannot be installed directly
Please help me