Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Illegal instruction #18175

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

Closed
oscarthorn opened this issue Jan 15, 2021 · 1 comment
Closed

Illegal instruction #18175

oscarthorn opened this issue Jan 15, 2021 · 1 comment

Comments

@oscarthorn
Copy link

oscarthorn commented Jan 15, 2021

Hi!

I'm working on a Jetson Xavier NX (arm64) device and I suddenly cannot use numpy installed from pip. Installing numpy 1.19.5 works but importing it gives illegal instruction error. This problem is not present if I instead install python 1.18. I have reproduced this bug on a clean system.

Reproducing code example:

This works:
pip install -U numpy

This does not:
import numpy

Illegal instruction (core dumped)

@charris
Copy link
Member

charris commented Jan 15, 2021

This is a duplicate of #18131, seems to be due to the compiler rearranging code.

@charris charris closed this as completed Jan 15, 2021
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

2 participants