It is taking very long to launch first envoirenment

I am trying to create env=gym.make(‘MineRLNavigateDense-v0’) first time and it is taking too much time ,here are the logs

import logging
logging.basicConfig(level=logging.DEBUG)
env = gym.make(‘MineRLNavigateDense-v0’)
INFO:minerl.env.malmo.instance.9287f4:Starting Minecraft process: [’/tmp/tmp5yfzbygh/Minecraft/launchClient.sh’, ‘-port’, ‘9001’, ‘-env’, ‘-runDir’, ‘/tmp/tmp5yfzbygh/Minecraft/run’]
INFO:minerl.env.malmo.instance.9287f4:Starting process watcher for process 10707 @ localhost:9001
DEBUG:minerl.env.malmo.instance.9287f4:This mapping ‘snapshot_20161220’ was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo.instance.9287f4:#################################################
DEBUG:minerl.env.malmo.instance.9287f4: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo.instance.9287f4: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo.instance.9287f4:#################################################
DEBUG:minerl.env.malmo.instance.9287f4: Powered by MCP unknown
DEBUG:minerl.env.malmo.instance.9287f4: http://modcoderpack.com
DEBUG:minerl.env.malmo.instance.9287f4: by: Searge, ProfMobius, Fesh0r,
DEBUG:minerl.env.malmo.instance.9287f4: R4wk, ZeuX, IngisKahn, bspkrs
DEBUG:minerl.env.malmo.instance.9287f4:#################################################
DEBUG:minerl.env.malmo.instance.9287f4:Found AccessTransformer: malmomod_at.cfg
DEBUG:minerl.env.malmo.instance.9287f4::deobfCompileDummyTask
DEBUG:minerl.env.malmo.instance.9287f4::deobfProvidedDummyTask
DEBUG:minerl.env.malmo.instance.9287f4::getVersionJson
DEBUG:minerl.env.malmo.instance.9287f4::extractUserdev
DEBUG:minerl.env.malmo.instance.9287f4::downloadClient SKIPPED
DEBUG:minerl.env.malmo.instance.9287f4::downloadServer SKIPPED
DEBUG:minerl.env.malmo.instance.9287f4::splitServerJar SKIPPED
DEBUG:minerl.env.malmo.instance.9287f4::mergeJars SKIPPED
DEBUG:minerl.env.malmo.instance.9287f4::applyBinaryPatches
DEBUG:minerl.env.malmo.instance.9287f4::extractDependencyATs SKIPPED

And it get stuck here everytime

How long is very long, the first environment takes a while to launch because it is building Minecraft on you system. Hold out and wait for it to all finish! If it never finished let me know and I’ll look into it.

Hey I’d just like to follow up here :slight_smile:

I apologize for responding late,personal reasons
yes you were right it never finished,it get stuck there ,so I have to kill the process.Please provide some solution .
Thank you

Owing to that we cann’t connected to the gradle server, so, i used the local file by download gradle-2.14-bin.zip with hand. And,i got follow logs.

INFO:minerl.env.malmo.instance.1b0065:Starting Minecraft process: ['/tmp/tmpjfd7h6r_/Minecraft/launchClient.sh', '-port', '9001', '-env', '-runDir', '/tmp/tmpjfd7h6r_/Minecraft/run']
INFO:minerl.env.malmo.instance.1b0065:Starting process watcher for process 55658 @ localhost:9001
DEBUG:minerl.env.malmo.instance.1b0065:Downloading file:/home/proj/neurIPS2019-mineRL/dependencies/gradle-2.14-bin.zip
DEBUG:minerl.env.malmo.instance.1b0065:...............................................................................
DEBUG:minerl.env.malmo.instance.1b0065:Unzipping /home/proj/.gradle/wrapper/dists/gradle-2.14-bin/axazll9kugm50z92r7zbcx3u1/gradle-2.14-bin.zip to /home/proj/.gradle/wrapper/dists/gradle-2.14-bin/axazll9kugm50z92r7zbcx3u1
DEBUG:minerl.env.malmo.instance.1b0065:Set executable permissions for: /home/proj/.gradle/wrapper/dists/gradle-2.14-bin/axazll9kugm50z92r7zbcx3u1/gradle-2.14/bin/gradle

And then, i re-run the env = gym.make('MineRLNavigateDense-v0')

I was stuck in here almost one hour, without any other logs

INFO:minerl.env.malmo.instance.6439d0:Starting Minecraft process: ['/tmp/tmpgu_no11j/Minecraft/launchClient.sh', '-port', '9001', '-env', '-runDir', '/tmp/tmpgu_no11j/Minecraft/run']
INFO:minerl.env.malmo.instance.6439d0:Starting process watcher for process 82904 @ localhost:9001

I don’t know how to solve it, so, could someone can help me with it? Thanks!

Hi, I’m currently investigating, Could you make a github issue?