Illegal instruction (core dumped) for every installed packages in linux aarch64

1.5k views Asked by At

I am using linux aarch64 architecture. I install miniconda (Miniconda3-py37_4.9.2-Linux-aarch64.sh) in linux. The steps of installing the miniconda is

bash Miniconda3-py37_4.9.2-Linux-aarch64.sh

I provide /home/su/miniconda3 folder to complete installing miniconda3.

Then I create an environment conda create -n myenv python=3.8

I checked environment list conda env list It shows

base             /home/su/miniconda3
myenv            /home/su/miniconda3/envs/myenv

Then I activate the enviroment "myenv" conda activate myenv and install tensorflow conda install -c conda-forge tensorflow Installation has no issue.

But when I import the tensorflow , I got Illegal instruction (core dumped).

I got such kind of Illegal instruction error in numpy, keras, tensorflow packages.

Numpy version is 1.21.5.

kera version is 2.8.0.

tensorflow version is 2.8.2.

Moreover when I check pip list in the terminal, I also got Illegal instruction error.

I don't know why I got this error of Illegal instruction (core dumped). May I know how can I solve this issue?

0

There are 0 answers