minerllabs / minerl

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

The installation progress is stuck due to gradle download slow #703

Open 0mega0 opened 1 year ago

0mega0 commented 1 year ago

Greetings! It seems my network too slow to download gradle online by automatic installing. Is there any way for me to install gradle offline by the installation zip package I download manually? Here are part of installation log:

......
File to patch:
Skip this patch? [y]
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff -u1 -rN MCP-Reborn-vanilla/src/main/java/net/minecraft/world/spawner/WorldEntitySpawner.java MCP-Reborn/src/main/java/net/minecraft/world/spawner/WorldEntitySpawner.java
|--- MCP-Reborn-vanilla/src/main/java/net/minecraft/world/spawner/WorldEntitySpawner.java       2022-06-23 00:30:26.691515959 +0100
|+++ MCP-Reborn/src/main/java/net/minecraft/world/spawner/WorldEntitySpawner.java       2022-06-23 00:28:27.361515359 +0100
--------------------------
File to patch:
Skip this patch? [y]
12 out of 12 hunks ignored
The text leading up to this was:
--------------------------
|diff -u1 -rN MCP-Reborn-vanilla/src/main/java/net/minecraft/world/storage/AnvilSaveConverter.java MCP-Reborn/src/main/java/net/minecraft/world/storage/AnvilSaveConverter.java
|--- MCP-Reborn-vanilla/src/main/java/net/minecraft/world/storage/AnvilSaveConverter.java       2022-06-23 00:30:26.691515959 +0100
|+++ MCP-Reborn/src/main/java/net/minecraft/world/storage/AnvilSaveConverter.java       2022-06-23 00:28:27.361515359 +0100
--------------------------
File to patch:
Skip this patch? [y]
2 out of 2 hunks ignored
The text leading up to this was:
--------------------------
|diff -u1 -rN MCP-Reborn-vanilla/src/main/java/net/minecraft/world/storage/SaveFormat.java MCP-Reborn/src/main/java/net/minecraft/world/storage/SaveFormat.java
|--- MCP-Reborn-vanilla/src/main/java/net/minecraft/world/storage/SaveFormat.java       2022-06-23 00:30:26.691515959 +0100
|+++ MCP-Reborn/src/main/java/net/minecraft/world/storage/SaveFormat.java       2022-06-23 00:28:27.361515359 +0100
--------------------------
File to patch:
Skip this patch? [y]
6 out of 6 hunks ignored

Downloading https://services.gradle.org/distributions/gradle-6.8.1-bin.zip
...
↑ stuck here

Have a good day.

0mega0 commented 1 year ago

By the way, due to same slow network issue, I install minerl with offline package too. By using cmd line : "python setup.py install" .

Miffyli commented 1 year ago

There is no way around the downloads currently from different repos, as it depends on bunch of different things (this is a headache right now as something changed somewhere...). However once you have downloaded and installed MineRL at least once, you can take the installed version and copy it around.