[英]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.我最近购买了 M1 Pro MacBook 并想参加 Tensorflow 认证考试,但在导入 PyCharm 中的 Tensorflow 时遇到错误。
Below are the steps I followed as per Tensorflow guideline :以下是我按照Tensorflow 指南执行的步骤:
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.现在,当我在 python 脚本中导入 tensorflow 时,它会抛出: Process finished with exit code 132 (interrupted by signal 4: SIGILL)
错误。
I searched the above mentioned error and found there is some issue the architecture of the python interpreter and tensorflow.我搜索了上述错误,发现 python 解释器和 tensorflow 的架构存在一些问题。 But I have installed both python and pycharm of x86_64 architecture.但是我已经安装了 x86_64 架构的 python 和 pycharm 。
Have you seen this GitHub thread ?你见过这个 GitHub线程吗?
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.抱歉,我无法测试它,我没有 M1,显然这个错误发生在 Apple Silicon 下。 See if it works.看看它是否有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.