简体   繁体   English

Python - 可执行文件中的 CPU 类型错误

[英]Python - Bad CPU Type in Executable

I updated yesterday to MacOS 10.15 and when trying to launch python from the terminal I am getting a "bad cpu in executable" error.我昨天更新到 MacOS 10.15,当尝试从终端启动 python 时,我收到“可执行文件中的错误 cpu”错误。 Is anybody else facing the same issue and is there a solution?有没有其他人面临同样的问题,有解决方案吗?

I've the same problem with bash.我对 bash 也有同样的问题。 You must to switch to zsh.您必须切换到 zsh。

https://support.apple.com/en-us/HT208050 https://support.apple.com/en-us/HT208050

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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