Skip to content
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

import malmo -> Segmentation fault: 11 error #49

Open
dhl8282 opened this issue Sep 4, 2018 · 11 comments
Open

import malmo -> Segmentation fault: 11 error #49

dhl8282 opened this issue Sep 4, 2018 · 11 comments

Comments

@dhl8282
Copy link

dhl8282 commented Sep 4, 2018

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
Copy link
Collaborator

AndKram commented Sep 5, 2018

What OS are you on?

@dhl8282
Copy link
Author

dhl8282 commented Sep 6, 2018

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
Copy link
Author

dhl8282 commented Sep 7, 2018

nvm I got it fixed with different virtual environment

@ludns
Copy link

ludns commented Sep 23, 2018

Can you describe how you fixed the problem?

@AndKram
Copy link
Collaborator

AndKram commented Sep 24, 2018

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
Copy link

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
Copy link

and I am using malmo 0.35.6

@ghost
Copy link

ghost commented May 20, 2019

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

@biggzlar
Copy link

Same on Mojave 10.14.5

@biggzlar
Copy link

biggzlar commented Jul 13, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants