title: How do I properly install Nethack Learning Environment?
body: <p>Trying to install Nethack Learning Environment (nle) according to their github: <a href="https://github.com/facebookresearch/nle" rel="nofollow noreferrer">https://github.com/facebookresearch/nle</a></p>
  <p>I am running windows 10 x64. I successfully installed all required packages (conda, cmake, cuda, gym, stable-baselines3, even graphviz which someone online said would help) and still return an error when I execute the following:</p>
  <pre><code>(nle) C:\Users\g&gt;pip install nle 
  </code></pre>
  <p>I get the following error:</p>
  <pre><code> Collecting nle
    Using cached nle-0.8.1.tar.gz (6.9 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... error
    error: subprocess-exited-with-error
  
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─&gt; [25 lines of output]
        Traceback (most recent call last):
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 363, in &lt;module&gt;
            main()
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 345, in main
            json_out['return_val'] = hook(**hook_input['kwargs'])
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 130, in get_requires_for_build_wheel
            return hook(config_settings)
          File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-ahobsdbu\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 338, in get_requires_for_build_wheel
            return self._get_build_requires(config_settings, requirements=['wheel'])
          File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-ahobsdbu\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 320, in _get_build_requires
            self.run_setup()
          File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-ahobsdbu\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 482, in run_setup
            super(_BuildMetaLegacyBackend,
          File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-ahobsdbu\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 335, in run_setup
            exec(code, locals())
          File &quot;&lt;string&gt;&quot;, line 127, in &lt;module&gt;
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\subprocess.py&quot;, line 415, in check_output
            return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\subprocess.py&quot;, line 493, in run
            with Popen(*popenargs, **kwargs) as process:
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\subprocess.py&quot;, line 858, in __init__
            self._execute_child(args, executable, preexec_fn, close_fds,
          File &quot;C:\Users\g\miniconda3\envs\nle\lib\subprocess.py&quot;, line 1311, in _execute_child
            hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
        FileNotFoundError: [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: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─&gt; See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  </code></pre>
  <p>I have even tried installing without the conda environment, via</p>
  <pre><code>C:\Users\g&gt;pip install nle
  </code></pre>
  <p>Which returns the following error:</p>
  <pre><code> Collecting nle
    Using cached nle-0.8.1.tar.gz (6.9 MB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\g\miniconda3\python.exe' 'C:\Users\g\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\g\AppData\Local\Temp\tmp4okewis9'
         cwd: C:\Users\g\AppData\Local\Temp\pip-install-b2kh8tw6\nle_afe88c6035c142eab966b05f6aa62307
    Complete output (25 lines):
    Traceback (most recent call last):
      File &quot;C:\Users\g\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 349, in &lt;module&gt;
        main()
      File &quot;C:\Users\g\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File &quot;C:\Users\g\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py&quot;, line 117, in get_requires_for_build_wheel
        return hook(config_settings)
      File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-k07q7h5y\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 338, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=['wheel'])
      File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-k07q7h5y\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 320, in _get_build_requires
        self.run_setup()
      File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-k07q7h5y\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 482, in run_setup
        super(_BuildMetaLegacyBackend,
      File &quot;C:\Users\g\AppData\Local\Temp\pip-build-env-k07q7h5y\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 335, in run_setup
        exec(code, locals())
      File &quot;&lt;string&gt;&quot;, line 127, in &lt;module&gt;
      File &quot;C:\Users\g\miniconda3\lib\subprocess.py&quot;, line 424, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File &quot;C:\Users\g\miniconda3\lib\subprocess.py&quot;, line 505, in run
        with Popen(*popenargs, **kwargs) as process:
      File &quot;C:\Users\g\miniconda3\lib\subprocess.py&quot;, line 951, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File &quot;C:\Users\g\miniconda3\lib\subprocess.py&quot;, line 1420, in _execute_child
        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    ----------------------------------------
  WARNING: Discarding https://files.pythonhosted.org/packages/e0/18/f6e78119aa5ab5bc5edffa817e3748100f47b96ca8afb3b39659629b906a/nle-0.8.1.tar.gz#sha256=ab20bf3ef72f79891c70fa0d99abdd41ed77784c0f884c5e9116c552708950a5 (from https://pypi.org/simple/nle/) (requires-python:&gt;=3.5). Command errored out with exit status 1: 'C:\Users\g\miniconda3\python.exe' 'C:\Users\g\miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\g\AppData\Local\Temp\tmp4okewis9' Check the logs for full command output.
  </code></pre>
  <p>It then appears to retry installing the package and of course gets stuck at the same point, spitting out the same error.</p>
  <p>List of other commands I have tried:</p>
  <pre><code>pip install --no-cache-dir nle 
  pip install ez_setup
  pip install --upgrade setuptools
  </code></pre>
  <p>Results:</p>
  <p>Same error as before, all three times</p>