Coming soon This is Ivensliao Blog, a brand new site by Ivens Liao that's just getting started. Things will be up and running here shortly, but you can subscribe in the meantime if you'd like to stay up to date and receive emails when new content is published!
解决 Mac 电脑上的 "bad CPU type in executable" 错误 在使用 M 芯片的 Mac 电脑时,运行命令时可能会遇到错误提示:“zsh:bad CPU type in executable”。 这通常发生在新购买的 Mac 电脑上,原因是未安装苹果的 Rosetta。 解决方法如下: 1. 打开访达,进入应用程序。 2. 找到 Safari 应用程序,右键点击并选择“显示简介”。 3. 在弹出的简介窗口中,勾选“通用”选项下的“使用 Rosetta 打开”。 4. 关闭并重新启动 Safari。当 Safari 重启后,系统会提示安装 Rosetta,点击“安装”。 完成以上步骤后,重新运行之前的命令即可正常工作。