minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
707 stars 153 forks source link

installation error (Something horrible happenend, server SRG jar not found) #779

Closed HamedDi81 closed 3 months ago

HamedDi81 commented 3 months ago

Hi, I've been trying to install minerl using the command pip install git+https://github.com/HamedDi81/minerl. I forked the original repository and added UTF-8 encoding to two lines in setup.py. Here are the original lines:

with open("README.md", "r") as fh:
    markdown = fh.read()
with open("requirements.txt", "r") as fh:
    requirements = fh.read()

I added "utf-8" to those lines, as shown below:

with open("README.md", "r", encoding="utf-8") as fh:
    markdown = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
    requirements = fh.read()

I made that change to solve the following error:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 1458: character maps to <undefined>

but now I've encountered an issue that I'm not sure how to solve it. I’ve attached the error log below from running the pip install git+https://github.com/HamedDi81/minerlcommand in Administrator Command Prompt.

Thank you for your time and help. Please let me know if any further information is needed

my java version in windows is:

C:\Users\hamed>java -version
java version "1.8.0_421"
Java(TM) SE Runtime Environment (build 1.8.0_421-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.421-b09, mixed mode)

C:\Users\hamed>javac -version
javac 1.8.0_421

and my java and javac version in wsl side is: 1.8.0_422

error.txt

HamedDi81 commented 3 months ago

Turned out it was just a network issue. I think minecraft.net is blocked in some regions.