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

I keep getting errors when trying to run the hello world code that is in the guide #765

Open
Parveen-Ayoubi opened this issue Apr 18, 2024 · 1 comment

Comments

@Parveen-Ayoubi
Copy link

ERROR:minerl.env._multiagent:Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/minerl/env/_multiagent.py", line 302, in step
reward, done, sent = struct.unpack("!dbb", reply)
TypeError: a bytes-like object is required, not 'NoneType'

DEBUG:minerl.env.malmo.instance.22e4e4:/usr/local/lib/python3.10/dist-packages/minerl/env/../MCP-Reborn/launchClient.sh: line 52: 290 Aborted (core dumped) java -Xmx$maxMem -jar $fatjar --envPort=$port
ERROR:minerl.env.malmo:Attempted to send kill command to minecraft process and failed with exception [Errno 111] Connection refused
INFO:process_watcher:About to reap process tree of 286:launchClient.sh:/usr/bin/bash i zombie, owner 277, printing process tree status in termination order:
INFO:process_watcher: -286:launchClient.sh:/usr/bin/bash i zombie, owner 277
INFO:process_watcher:Trying to SIGTERM 286:launchClient.sh:/usr/bin/bash i zombie, owner 277
INFO:process_watcher:Process psutil.Popen(pid=286, name='launchClient.sh', status='terminated', exitcode=0, started='17:47:23') terminated with exit code 0

@Miffyli
Copy link
Contributor

Miffyli commented Apr 21, 2024

Hey. Please share full commands you ran and what package you installed and with what command. From what I gather you did not install MineRL with pip install command, but hard to stay with limited information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants