Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Not able to download NLE in windows #370

Open
AmeenUrRehman opened this issue Feb 12, 2024 · 0 comments
Open

Not able to download NLE in windows #370

AmeenUrRehman opened this issue Feb 12, 2024 · 0 comments

Comments

@AmeenUrRehman
Copy link

🐛 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant