Malmo Installation Instructions
Using the Docker image should work across all OS's
MacOS
pip3 installation
- https://github.com/Microsoft/malmo/blob/master/scripts/python-wheel/README.md Links to an external site.
- Possibly useful instructions: Malmo on MacOS
Linux
pip3 installation
- https://github.com/Microsoft/malmo/blob/master/scripts/python-wheel/README.md Links to an external site. Links to an external site.
Windows
The pip install mentioned here Links to an external site. was having issues, so we recommend installing a prebuilt release:
- Download Malmo
- Download the appropriate prebuilt malmo release here Links to an external site. (example: Malmo-0.37.0-Windows-64bit_withBoost_Python3.7.zip Links to an external site.).
-
- Unzip the download somewhere for use.
- Install Java
- Install JDK 8 Links to an external site. (not 15)
- Set your JDK_HOME environment by:
- Searching windows for "Edit the system environment variables"
- Select "Environment Variables..."
- Click "New..." or "Edit..." to create or edit the JDK_HOME variable
- Set it to where the JDK was installed (example: C:\Program Files\Java\jdk1.8.0_261)
- Install Malmo dependencies
- Use PowerShell to install dependencies automatically Links to an external site. (it was worked for some).
- If that doesn't work, install the dependencies manually, using instructions here
Links to an external site..
- For ffmpeg, go here: https://ffmpeg.org/download.html Links to an external site.
- Test your install
- Try launching "Malmo\minecraft\launchClient.bat" by double clicking or via powershell
-
Navigate to "Malmo\Python_Examples" and try running "tutorial_1.py" while the malmo client is running.
-
If you see "ImportError: DLL load failed: The specified module could not be found." you may have the issue I had mentioned here
Links to an external site..
- Search "C:\Program Files" for a folder called "zlib.dll". I found several copies, but I used the one that was part of my visual studio install.
- Copy that file into "Malmo\Python_Examples"
- Rerun "Malmo\minecraft\launchClient.bat" and "tutorial_1.py".
-
If you see "ImportError: DLL load failed: The specified module could not be found." you may have the issue I had mentioned here
Links to an external site..
Instructions from a student: Malmo Installation on Windows