Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to install on Windows, Mac and Linux, all fails with this error #770

Open
IDoTheHax opened this issue May 15, 2024 · 1 comment
Open

Comments

@IDoTheHax
Copy link

This is from the windows installation which im trying to fix

C:\Users\IDoTheHax\Downloads\jdk_8\jdk8\bin>pip install git+https://github.com/minerllabs/minerl --user
Collecting git+https://github.com/minerllabs/minerl
Cloning https://github.com/minerllabs/minerl to c:\users\IDoTheHax\appdata\local\temp\pip-req-build-v4a2r_bm
Running command git clone --filter=blob:none --quiet https://github.com/minerllabs/minerl 'C:\Users\IDoTheHax\AppData\Local\Temp\pip-req-build-v4a2r_bm'
Resolved https://github.com/minerllabs/minerl to commit e1eea09
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
╰─> [32 lines of output]
Traceback (most recent call last):
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\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:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\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\IDoTheHax\AppData\Local\Temp\pip-build-env-pk4apngu\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\IDoTheHax\AppData\Local\Temp\pip-build-env-pk4apngu\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\IDoTheHax\AppData\Local\Temp\pip-build-env-pk4apngu\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\IDoTheHax\AppData\Local\Temp\pip-build-env-pk4apngu\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 223, in
File "", line 145, in prep_mcp
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\IDoTheHax\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden
[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.

[notice] A new release of pip is available: 23.3.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

@Miffyli
Copy link
Contributor

Miffyli commented May 16, 2024

Hey. Try running command bash in the command line. If that is not available/installed, this might be the issue. You need WSL installed on Windows to install MineRL: https://minerl.readthedocs.io/en/latest/tutorials/index.html

(I am replying to you here for full reference in addition to Discord help so people can see hints :) )

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

No branches or pull requests

2 participants