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

pip install nle==0.8.1 error #367

Open
cuicui2023 opened this issue Jan 12, 2024 · 0 comments
Open

pip install nle==0.8.1 error #367

cuicui2023 opened this issue Jan 12, 2024 · 0 comments

Comments

@cuicui2023
Copy link

cuicui2023 commented Jan 12, 2024

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

1.conda activate continual-dreamer
2.pip install gym==0.23.1
3.pip install nle==0.8.1

Expected behavior

Collecting nle==0.8.1
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
╰─> [25 lines of output]
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\24865\AppData\Local\Temp\pip-build-env-k7rgffwk\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\24865\AppData\Local\Temp\pip-build-env-k7rgffwk\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\24865\AppData\Local\Temp\pip-build-env-k7rgffwk\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\24865\AppData\Local\Temp\pip-build-env-k7rgffwk\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 127, in
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\Anaconda3\envs\continual-dreamer\lib\subprocess.py", line 1327, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[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
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Environment

Please copy and paste the output from running our
environment collection script
(or fill out the checklist below manually).

You can get the script and run it with:

# with repo already installed
$ python -m nle.scripts.collect_env

# or instead pull it from github
wget https://raw.githubusercontent.com/facebookresearch/nle/main/nle/scripts/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
  • NLE Version (e.g., 1.0):
  • PyTorch Version (e.g., 1.0):
  • OS (e.g., Linux): Windows
  • How you installed NLE (conda, pip, source): pip
  • Build command you used (if compiling from source):
  • Python version: 3.8
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information:

Additional context

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