📜  >>> import numpy 非法指令(核心转储) - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:06.167000             🧑  作者: Mango

代码示例1
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
>>>