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

FileNotFound Error #794

Open
CalTumminello opened this issue Nov 19, 2024 · 7 comments
Open

FileNotFound Error #794

CalTumminello opened this issue Nov 19, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@CalTumminello
Copy link

Tried downloading using Windows 10 with Java and javac 1.8 clean install. I am not sure how to use WSL2, but I have it downloaded with java 1.8 as well. I was not able to find another issue similar to this but somehow when I try to download MineRL it produces:

FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\Users\user\AppData\Local\Temp\pip-req-build-orb_6ao6\minerl\MCP-Reborn'

fileNotFoundError.txt

@Miffyli Miffyli added the bug Something isn't working label Nov 19, 2024
@Miffyli
Copy link
Contributor

Miffyli commented Nov 19, 2024

Hey. This seems to be the root issue:

patch_mcp.sh: line 5: cd: too many arguments

But interestingly the code in question does put quotation marks around the path (at least by looking at it), so I am not sure what is going wrong 🤔 .

Try cloning this repository first, navigating to it and doing pip install . or pip install -e . inside it (and do this in a path that ideally does not have whitespaces in it).

@CalTumminello

This comment was marked as outdated.

@CalTumminello
Copy link
Author

I try downloading using WSL2 and it progressed further in the installation, but here is the new error.

errorLog2.txt

@Miffyli
Copy link
Contributor

Miffyli commented Nov 21, 2024

Try using Python 3.10 or older. Looks like 3.12 does not play nice with Numpy version that is required by the MineRL.

@CalTumminello

This comment was marked as outdated.

@CalTumminello
Copy link
Author

CalTumminello commented Nov 28, 2024

Running "python3.10 -m pip install git+https://github.com/minerllabs/minerl --user" on WSL2 with a cleared pip cache:

[Edit]: Saw issue #677 and tried "sudo apt-get install python3-dev", install still fails with the same getch issue.

errorLog3.txt

@Miffyli
Copy link
Contributor

Miffyli commented Nov 29, 2024

@CalTumminello Not sure I am not looking at to be honest. It looks like there is bunch of compilation-related output, but there should be no compilation happening during MineRL install. I recommend using virtual environments (e.g., miniconda is most tested), creating an environment there and installing with pip install git+https://github.com/minerllabs/minerl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants