-
Notifications
You must be signed in to change notification settings - Fork 154
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
Can't install on a virtual environment #782
Comments
update: I properly installed wsl and that error seems to be gone, but now i have a new one PS C:\Users\prana\Documents\Python_Stuff> pip install git+https://github.com/minerllabs/minerl --user error: subprocess-exited-with-error × git clone --filter=blob:none --quiet https://github.com/minerllabs/minerl 'C:\Users\prana\AppData\Local\Temp\pip-req-build-wma9fr86' did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × git clone --filter=blob:none --quiet https://github.com/minerllabs/minerl 'C:\Users\prana\AppData\Local\Temp\pip-req-build-wma9fr86' did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Hey. Those communication errors signal there is something off in the networking side of things (e.g., network connection if flaky). Not sure how to fix those, as they are not part of the MineRL package issues and are issues with git/github.
If you run into further issues after this one, try running WSL at least once (I am not sure if it installs something on first launch that will be needed) |
I seem to have fixed that error by moving from venv to global env but now im getting a new one (also I figured out the wsl issue, its that i didnt download java on wsl and i didnt enable it on my machine, i did those and it seems to have gone away)
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
|
I've repeated it a good amount of times today, keep getting this error, it seems similar to the last one but not the same PS C:\Users\prana\Documents\Python_Stuff> pip install git+https://github.com/minerllabs/minerl --user × python setup.py egg_info did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
Hmm that is a new error I am not sure how to fix. Usually a good thing to make sure is that you are indeed using Java 8 (both |
Windows 11, jdk 1.8
Can't seem to install on my venv, the max_path longpathsenabled setting is 1 so i dont think its that. I've installed WSL but havent used it before so its just like, there lol
PS C:\Users\prana\Documents\Python_Stuff\MineRL> pip install git+https://github.com/minerllabs/minerl
Collecting git+https://github.com/minerllabs/minerl
Cloning https://github.com/minerllabs/minerl to c:\users\prana\appdata\local\temp\pip-req-build-9t1c77ny
Running command git clone --filter=blob:none --quiet https://github.com/minerllabs/minerl 'C:\Users\prana\AppData\Local\Temp\pip-req-build-9t1c77ny'
Resolved https://github.com/minerllabs/minerl to commit 451c96a
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\prana\Documents\Python_Stuff\MineRL.venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "c:\Users\prana\Documents\Python_Stuff\MineRL.venv\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\prana\Documents\Python_Stuff\MineRL.venv\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\prana\AppData\Local\Temp\pip-build-env-l8a1ximw\overlay\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prana\AppData\Local\Temp\pip-build-env-l8a1ximw\overlay\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "C:\Users\prana\AppData\Local\Temp\pip-build-env-l8a1ximw\overlay\Lib\site-packages\setuptools\build_meta.py", line 502, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\prana\AppData\Local\Temp\pip-build-env-l8a1ximw\overlay\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 222, in
File "", line 144, in prep_mcp
File "C:\Users\prana\AppData\Local\Programs\Python\Python3118\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prana\AppData\Local\Programs\Python\Python3118\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prana\AppData\Local\Programs\Python\Python3118\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\prana\AppData\Local\Programs\Python\Python3118\Lib\subprocess.py", line 1538, 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
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: