arm平台Conda环境下python Illegal instruction (core dumped)

arm平台Conda环境下python Illegal instruction (core dumped)

  1. miniconda版本不对
 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py39_4.9.2-Linux-aarch64.sh
 bash Miniconda3-py39_4.9.2-Linux-aarch64.sh
  1. 打开~/.bashrc
  • 在最后添加 OPENBLAS_CORETYPE=ARMV8 python
  • source ~/.bashrc
  1. 版本降级
  • tensorflow1.5
  • numpy1.19.4
  1. 使用venv
  • sudo apt-get install python3-pip python3-setuptools python3-dev python3-wheel
  • sudo apt install python3-venv
  • 创建虚拟环境 python3 -m venv your_venv
  • 激活虚拟环境 source your_venv/bin/activate
  • 退出虚拟环境 deactivate

你可能感兴趣的:(arm,Python,python,arm,linux)