" Illegal instruction (core dumped)" Xavier

when i import numpy on python3 shell, it says " Illegal instruction (core dumped)" on xavier.How can i solve this problem?

my pip3 list is :

Cython 0.29.21
numpy 1.19.5
pip 20.3.3
setuptools 51.0.0
torch 1.1.0
wheel 0.36.1

1 Like


It seems like you are facing a similar issue as the below topic:

Could you try the suggestion to see if it also works for you first?


when i open python on shell like this :


it solved my problem thanks


This works for me. However is there a way to make it work without having to constantly type the whole command, and just type python3 instead ? I’m still a newbie into all this and would appreciate any positive feedback. Thanks.

Hi @mpico602, two ways:

  1. Run export OPENBLAS_CORETYPE=ARMV8 in your terminal. It will remain active as long as that terminal remains open.

  2. Add export OPENBLAS_CORETYPE=ARMV8 to your ~/.bashrc. It will set that environment variable on every new terminal that is opened.

Thanks @dusty_nv I tried the second approach and It is now working perfectly.