Open carolinezhang1 opened 3 months ago
Hey. Installing MineRL on newer Macs requires additional steps. See instructions here: https://github.com/minerllabs/minerl/issues/659#issuecomment-1306635414
Edit: I just saw you commented on that thread as well. Unfortunately I do not have good tips to give here. Usually glfw (or any rendering) errors happen because of lack of display (i.e. you need to run things with xvfb-run), but with Macs this should not be the case.
Hello! I have been trying to set up mineRL on my computer and have been running into some issues with trying to run the environment setup code, specifically this command: obs = env.reset()
The process stops and I get these errors:
DEBUG:minerl.env.malmo.instance.500b73:[14:35:19] [EnvServerSocketHandler/INFO]: [STDOUT]: *** Stopping the replay, returning control to the inputs INFO:process_watcher:Zombie process found in process tree. INFO:process_watcher:Process psutil.Popen(pid=4700, name='bash', status='zombie', started='14:34:31') does not exist or is zombie.
I use a Macbook computer with an Apple Silicon Chip, have Java 8, and installed mineRL using the instructions on the website. I would really appreciate any help with troubleshooting, thank you so much!
Also, here is the full log: `DeprecationWarning: 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1. return concat(self.root_render_func(self.new_context(vars)))
:23: DeprecationWarning: 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1. :15: DeprecationWarning: 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1. :16: DeprecationWarning: 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1. :17: DeprecationWarning: 'soft_unicode' has been renamed to 'soft_str'. The old name will be removed in MarkupSafe 2.1. INFO:minerl.env.malmo.instance.500b73:Starting Minecraft process: RuntimeWarning: 'minerl.utils.process_watcher' found in sys.modules after import of package 'minerl.utils', but prior to execution of 'minerl.utils.process_watcher'; this may result in unpredictable behaviour warn(RuntimeWarning(msg)) INFO:process_watcher:Process watcher daemonizer launched successfully. DEBUG:minerl.env.malmo.instance.500b73:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". DEBUG:minerl.env.malmo.instance.500b73:SLF4J: Defaulting to no-operation (NOP) logger implementation DEBUG:minerl.env.malmo.instance.500b73:SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. DEBUG:minerl.env.malmo.instance.500b73:[14:34:46] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' DEBUG:minerl.env.malmo.instance.500b73:[14:34:47] [Render thread/INFO]: Setting user: Player686 DEBUG:minerl.env.malmo.instance.500b73:[14:34:47] [Render thread/INFO]: Backend library: LWJGL version 3.2.1 SNAPSHOT ERROR:minerl.env.malmo.instance.500b73:[14:34:48] [Render thread/ERROR]: GLFW error collected during initialization: GLFW error during init: [0x10008]13117847264 DEBUG:minerl.env.malmo.instance.500b73:[14:34:50] [Render thread/INFO]: Reloading ResourceManager: Default DEBUG:minerl.env.malmo.instance.500b73:[14:34:51] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: OpenAL initialized. DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Sound engine started DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/banner_patterns.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/shield_patterns.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:55] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:56] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:56] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:56] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas DEBUG:minerl.env.malmo.instance.500b73:[14:34:57] [Thread-3/INFO]: [STDOUT]: ***** Start MalmoEnvServer on port 9070 DEBUG:minerl.env.malmo.instance.500b73:[14:34:57] [Thread-3/INFO]: [STDOUT]: CLIENT enter state: DORMANT INFO:minerl.env.malmo.instance.500b73:Minecraft process ready INFO:minerl.env.malmo:Logging output of Minecraft to ./logs/mc_70.log DEBUG:minerl.env._multiagent:Creating socket connection Malmo[None:500b73, proc=4700, addr=localhost:9070, locked=True] DEBUG:minerl.env.malmo.instance.500b73:[14:34:57] [Thread-3/INFO]: [STDOUT]: SERVER enter state: DORMANT DEBUG:minerl.env._multiagent:Saying hello for client: Malmo[None:500b73, proc=4700, addr=localhost:9070, locked=True] INFO:minerl.env._multiagent:Attempting to quit: Malmo[None:500b73, proc=4700, addr=localhost:9070, locked=True] DEBUG:minerl.env._multiagent:Sending mission init: Malmo[None:500b73, proc=4700, addr=localhost:9070, locked=True] DEBUG:minerl.env.malmo.instance.500b73:[14:34:57] [EnvServerSocketHandler/INFO]: Received Mission token 8f753766-6b5d-4eeb-bb73-bb8b84bb5af7:0:0:1:true DEBUG:minerl.env.malmo.instance.500b73:[14:34:57] [EnvServerSocketHandler/INFO]: Received mission init command