天天看點

python import illegal instruction

python import illegal instruction

jetson xavier 平台更新protobuf後報錯illegal instruction

Python 3.6.9 (default, Oct 8 2020, 12:12:24)

[GCC 8.4.0] on linux

Type “help”, “copyright”, “credits” or “license” for more information.

import xgboost

Illegal instruction

解決方法

  • 1執行如下指令:
  • 2sudo vim ~/.bashrc
  • 3末尾添加環境變量export OPENBLAS_CORETYPE=ARMV8,儲存并關閉檔案
  • 4終端 source ~/.bashrc

繼續閱讀