facebookresearch / nle

The NetHack Learning Environment
Other
939 stars 113 forks source link

Not able to download NLE in windows #370

Open AmeenUrRehman opened 5 months ago

AmeenUrRehman commented 5 months ago

🐛 Bug

Error while installing nle:

Collecting nle Using cached nle-0.9.0.tar.gz (7.0 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: pybind11>=2.2 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from nle) (2.11.1) Requirement already satisfied: numpy>=1.16 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from nle) (1.23.3) Collecting gym<=0.23,>=0.15 (from nle) Using cached gym-0.23.0-py3-none-any.whl Requirement already satisfied: cloudpickle>=1.2.0 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from gym<=0.23,>=0.15->nle) (2.2.0) Requirement already satisfied: gym-notices>=0.0.4 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from gym<=0.23,>=0.15->nle) (0.0.8) Requirement already satisfied: importlib-metadata>=4.10.0 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from gym<=0.23,>=0.15->nle) (6.6.0) Requirement already satisfied: zipp>=0.5 in d:\wpsystem\s-1-5-21-2406690558-3016441985-1440534836-1002\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from importlib-metadata>=4.10.0->gym<=0.23,>=0.15->nle) (3.15.0) Building wheels for collected packages: nle Building wheel for nle (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for nle (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [50 lines of output] fatal: not a git repository (or any of the parent directories): .git Building wheel nle-0.9.0 running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\nle copying nle\version.py -> build\lib.win-amd64-cpython-38\nle copying nle__init.py -> build\lib.win-amd64-cpython-38\nle creating build\lib.win-amd64-cpython-38\nle\dataset copying nle\dataset\dataset.py -> build\lib.win-amd64-cpython-38\nle\dataset copying nle\dataset\db.py -> build\lib.win-amd64-cpython-38\nle\dataset copying nle\dataset\populate_db.py -> build\lib.win-amd64-cpython-38\nle\dataset copying nle\dataset__init.py -> build\lib.win-amd64-cpython-38\nle\dataset creating build\lib.win-amd64-cpython-38\nle\env copying nle\env\base.py -> build\lib.win-amd64-cpython-38\nle\env copying nle\env\tasks.py -> build\lib.win-amd64-cpython-38\nle\env copying nle\env\init.py -> build\lib.win-amd64-cpython-38\nle\env creating build\lib.win-amd64-cpython-38\nle\nethack copying nle\nethack\actions.py -> build\lib.win-amd64-cpython-38\nle\nethack copying nle\nethack\nethack.py -> build\lib.win-amd64-cpython-38\nle\nethack copying nle\nethack\init.py -> build\lib.win-amd64-cpython-38\nle\nethack creating build\lib.win-amd64-cpython-38\nle\agent copying nle\agent\agent.py -> build\lib.win-amd64-cpython-38\nle\agent copying nle\agent\vtrace.py -> build\lib.win-amd64-cpython-38\nle\agent copying nle\agent\init__.py -> build\lib.win-amd64-cpython-38\nle\agent creating build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\check_nethack_speed.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\collect_env.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\play.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\plot.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\read_heaplog.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\read_tty.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\test_raw_nethack.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\ttyplay.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\ttyplay2.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\ttyrec.py -> build\lib.win-amd64-cpython-38\nle\scripts copying nle\scripts\init__.py -> build\lib.win-amd64-cpython-38\nle\scripts creating build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_converter.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_dataset.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_db.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_envs.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_nethack.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_populate_db.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_profile.py -> build\lib.win-amd64-cpython-38\nle\tests copying nle\tests\test_system.py -> build\lib.win-amd64-cpython-38\nle\tests running build_ext error: [WinError 2] The system cannot find the file specified [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for nle Failed to build nle ERROR: Could not build wheels for nle, which is required to install pyproject.toml-based projects