crowdAI / marLo

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

import malmo -> Segmentation fault: 11 error #49

Open dhl8282 opened 5 years ago

dhl8282 commented 5 years ago

I followed installation guide and at stage:

python -c "import marlo"

i got

Segmentation fault: 11

how do I fix this?

Thank you in advanced

AndKram commented 5 years ago

What OS are you on?

dhl8282 commented 5 years ago

image

conda info is giving me image

and I am using Python 3.6.6 using conda virtualenv (I just followed wiki how to install)

dhl8282 commented 5 years ago

nvm I got it fixed with different virtual environment

ludns commented 5 years ago

Can you describe how you fixed the problem?

AndKram commented 5 years ago

On test.pypi.org there are more versions for different OS/Python combinations of malmo built for use by the Marlo competition you could try installing from there with: (pip3 uninstall malmo; pip3 install --index-url https://test.pypi.org/simple/ malmo).

mikezhang95 commented 5 years ago

I have met the same situation. I am using macOS 10.14.2. I have tested that my malmo module works fine, but has segmentation fault 11 when import marlo

mikezhang95 commented 5 years ago

and I am using malmo 0.35.6

pratikmehta14 commented 5 years ago

I faced the same issue. Is there a concrete solution to this yet?

biggzlar commented 5 years ago

Same on Mojave 10.14.5

biggzlar commented 5 years ago

nvm I got it fixed with different virtual environment

How about actually sharing your solution?

Here it is: make sure to install the environment not with

conda create python=3.6 --name marlo

but with a python version that you know is supported, because god knows newer ones are not. E.g.

conda create python=3.6.0 --name marlo
RuofanKong commented 5 years ago

According to above discussions, Looks this works for me (assume the conda env is activated):

pip uninstall marlo
pip install --index-url https://test.pypi.org/simple/ malmo
pip install -U marlo