microsoft / malmo

Project Malmo is a platform for Artificial Intelligence experimentation and research built on top of Minecraft. We aim to inspire a new generation of research into challenging new problems presented by this unique environment. --- For installation instructions, scroll down to *Getting Started* below, or visit the project page for more information:
https://www.microsoft.com/en-us/research/project/project-malmo/
MIT License
4.1k stars 600 forks source link

zlib.dll is missing in your Windows release #876

Open lovettchris opened 4 years ago

lovettchris commented 4 years ago

I downloaded this release, unzipped it, installed Java 8, launchClient works, but in the Python_Examples python tutorial_1.py failes with ImportError: DLL load failed: The specified module could not be found.

depends.exe shows your binary is dependent on zlib.dll:

image

But this is not found in the downloaded zip. I noticed your build from source actually builds zlib from source, perhaps you should included the built binary in your release zip file?

pflan commented 4 years ago

I'm pretty sure I'm also observing this problem. (edit: I built zlib myself and moved it into place and now things are working, so I'm even more sure that this was the problem.)

viktor-barr commented 4 years ago

I love you

oStenvall commented 4 years ago

You are a god

Greg-Tarr commented 3 years ago

Here's the DLL if anyone finds it useful. zlib.zip

martkartasev commented 3 years ago

This worked for me as well. Can confirm the pre-built binary for 0.37.0.0 Python 3.7 does not work without zlib in the PYTHONPATH alongside the 'MalmoPython.pyd' file. This was used with the PIP python wheel for Windows 0.37.0.0 on Python 3.7.