Malmo Installation Instructions

Using the Docker image should work across all OS's

https://github.com/Microsoft/malmo/blob/master/scripts/python-wheel/README.md#using-the-prebuilt-docker-image Links to an external site.

MacOS

pip3 installation

Linux

pip3 installation

Windows

The pip install mentioned here Links to an external site. was having issues, so we recommend installing a prebuilt release:

    • 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
  • 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".

Instructions from a student: Malmo Installation on Windows