crowdAI / marLo

Multi Agent Reinforcement Learning using MalmÖ
MIT License
245 stars 46 forks source link

Wrong env variables in older (?) conda versions #29

Closed spMohanty closed 6 years ago

spMohanty commented 6 years ago
petter-mbpro:Minecraft petter$ conda --version
conda 4.0.5

petter-mbpro:Minecraft petter$ source activate marlo
discarding /Users/petter/anaconda/bin from PATH
prepending /Users/petter/anaconda/envs/marlo/bin to PATH

(marlo)petter-mbpro:Minecraft petter$ printenv
TERM_PROGRAM=Apple_Terminal
MALMO_XSD_PATH=/MalmoSchemas/
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/j8/9jh748z5155gb02tf626j0_40000gp/T/
MALMO_MINECRAFT_ROOT=/Minecraft/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.nngzXwyv9q/Render
TERM_PROGRAM_VERSION=404
TERM_SESSION_ID=A69F2D80-8999-4152-99E9-4D5AFA47B896
USER=petter
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.S7e4cykyVA/Listeners
PATH=/Users/petter/anaconda/envs/marlo/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
PWD=/Users/petter/anaconda/envs/marlo/Minecraft
JAVA_HOME=
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/petter
SHLVL=1
CONDA_ENV_PATH=/Users/petter/anaconda/envs/marlo
LOGNAME=petter
LC_CTYPE=UTF-8
JAVA_HOME_CONDA_BACKUP=
CONDA_DEFAULT_ENV=marlo
DISPLAY=/private/tmp/com.apple.launchd.cUNN7CSmqp/org.macosforge.xquartz:0
_=/usr/bin/printenv

It looks like the MALMO_MINECRAFT_ROOT are set as /Minecraft/ instead of the full path. Same for MALMO_XSD_PATH, which caused the examples to not work.

The conda version of the user is 4.0.5 . @nehaljwani : Any ideas ??

spMohanty commented 6 years ago

If it is indeed the conda version, then we should specify the min conda version that we support.

nehaljwani commented 6 years ago

4.0.5 is way way old. Please update to the 4.5.x series.

spMohanty commented 6 years ago

Added note to the docs.