-
Notifications
You must be signed in to change notification settings - Fork 46
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
TypeError when calling marlo.make() with marlo environments #27
Comments
@douglasrizzo : Did you use the Anaconda environments provided ?
Also can you paste the complete stacktrace ? |
Hi @spMohanty . I am not using the Anaconda installation. I followed the steps described in the installation page telling users to set their I will try to run it with Anaconda is necessary, but I already have 3 versions of Python installed locally, so I'd like to avoid installing another one if possible. Here is my stack trace. I used Python 3.5.5, since Malmo has no support for Python 3.6 on Linux.
|
I followed the Anaconda installation instructions now. It worked, but I had to swap lines 3 and 4 and call |
@douglasrizzo : Thanks for confirming. And yes, lines 3 and 4 should be swapped. And yes we know about the issues with native python. We will be releasing more consistent wheels in a few days, and hopefully things will be more consistent then. |
Previous to Python 3.6 os.join could not accept Path objects. The "main.py" of each env could be changed to: |
Hi everyone. I have installed Malmo under Manjaro Linux and Python 3.5. I was able to run Minecraft and the examples that come with Malmo. However, after installing MarLo, I tried to run examples like
single_agent.py
andtest.py
, as well as the example in the README, but every timemarlo.make(...)
was called I got the following error:TypeError: join() argument must be str or bytes, not 'PosixPath'
.The following code reproduces my error:
I realized
marlo
depends ongym
, so I tried to run some gym environments and they worked. I also passed the wrong name for an environment. likeMarLo-MazeRunner-v1
orsenseless-test-v0
and the error was different, which makes me believe an exception only occurs when trying to load amarlo
environment. Any thoughts?The text was updated successfully, but these errors were encountered: