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

zlib.dll is missing in your Windows release #876

Open
lovettchris opened this issue Apr 17, 2020 · 5 comments
Open

zlib.dll is missing in your Windows release #876

lovettchris opened this issue Apr 17, 2020 · 5 comments

Comments

@lovettchris
Copy link
Member

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
Copy link

pflan commented May 10, 2020

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.)

@vikba651
Copy link

I love you

@oStenvall
Copy link

You are a god

@Greg-Tarr
Copy link

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

@martkartasev
Copy link

martkartasev commented Jul 6, 2021

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.

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

6 participants