简体   繁体   中英

Process finished with exit code 132 (interrupted by signal 4: SIGILL) - Tensorflow Certification Exam

I have recently purchased M1 Pro MacBook and wanted to take the Tensorflow certification exam, but I am facing the errors while importing the Tensorflow in PyCharm.

Below are the steps I followed as per Tensorflow guideline :

  1. Install Python 3.8:
  2. Install PyCharm 2021.3:
  3. Created the project in PyCharm
  4. Installed below python dependencies as per guideline:
tensorflow==2.7
tensorflow-datasets==4.6.0
Pillow==9.1.1
pandas==1.4.2
numpy==1.22.4
scipy==1.7.3

Now when I import tensorflow in python script, it throws: Process finished with exit code 132 (interrupted by signal 4: SIGILL) error.

I searched the above mentioned error and found there is some issue the architecture of the python interpreter and tensorflow. But I have installed both python and pycharm of x86_64 architecture.

Have you seen this GitHub thread ?

They suggest updating the certificates for example like this :

open /Applications/Python\ 3.7/Install\ Certificates.command

Sorry I cannot test it, I don't have an M1, and apparently this error happens under Apple Silicon. See if it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM