简体   繁体   English

进程以退出代码 132 结束(被信号 4:SIGILL 中断) - Tensorflow 认证考试

[英]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 指南执行的步骤:

  1. Install Python 3.8:安装 Python 3.8:
  2. Install PyCharm 2021.3:安装 PyCharm 2021.3:
  3. Created the project in PyCharm在 PyCharm 中创建项目
  4. Installed below python dependencies as per guideline:按照指南安装在 python 依赖项下:
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.

相关问题 尝试导入 pandas 时得到“进程完成,退出代码 132(被信号 4 中断:SIGILL)” - When trying to import pandas get 'Process finished with exit code 132 (interrupted by signal 4: SIGILL)' 在 Pycharm 中导入 numpy 或 pandas 时,“进程以退出代码 132 完成(被信号 4 中断:SIGILL)” - "Process finished with exit code 132 (interrupted by signal 4: SIGILL)" when importing numpy or pandas in Pycharm 3D CNN 在 pycharm 上使用 keras-tensorflow(进程以退出代码 137 结束(被信号 9:SIGKILL 中断)) - 3D CNN using keras-tensorflow on pycharm ( Process finished with exit code 137 (interrupted by signal 9: SIGKILL) ) 使用StringSubsequenceKernel的退出代码139(信号11:SIGSEGV中断)完成的过程 - Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) with StringSubsequenceKernel 进程以 Python OpenCV 中的退出代码 134(被信号 6:SIGABRT 中断)结束 - Process finished with exit code 134 (interrupted by signal 6: SIGABRT) in python OpenCV 进程以退出代码 134 结束(被信号 6 中断:SIGABRT) - Process finished with exit code 134 (interrupted by signal 6: SIGABRT) 进程以退出代码 139 结束(被信号 11 中断:SIGSEGV) - Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) QNetworkAccessManager进程以退出代码139完成(被信号11:SIGSEGV中断) - QNetworkAccessManager Process Finished With Exit Code 139 (Interrupted by signal 11: SIGSEGV) Pycharm - 进程已完成,退出代码为 134(被信号 6:SIGABRT 中断)错误 - Pycharm - Process finished with exit code 134 (interrupted by signal 6: SIGABRT) error Pycharm - 运行 Open CV 代码直接进入“进程完成,退出代码 139(被信号 11 中断:SIGSEGV)” - Pycharm - Running Open CV Code goes straight to “Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM