Answers for "import numpy as np illegal instruction (core dumped)"

1

>>> import numpy Illegal instruction (core dumped)

Confirmed. Just for the record, this solution (overriding environment variable) allows numpy to be loaded despite the wrong CPU detection:

>>> import os
>>> os.environ["OPENBLAS_CORETYPE"] = "nehalem"
>>> import numpy as np
>>>
Posted by: Guest on May-06-2021

Code answers related to "import numpy as np illegal instruction (core dumped)"

Python Answers by Framework

Browse Popular Code Answers by Language