【问题标题】:Why gnuplot don't work. Bad cpu type in executable为什么gnuplot不起作用。可执行文件中的错误 cpu 类型
【发布时间】:2021-01-19 17:19:58
【问题描述】:

我已经使用 Homebrew 安装了 gnuplot,但是当我在终端上启动 gnuplot 命令时,它显示:“zsh: bad CPU type in executable: gnuplot”。我有 Mac Os Catalina 10.15.4。我不知道该怎么办。

【问题讨论】:

    标签: macos gnuplot zsh cpu macos-catalina


    【解决方案1】:

    首先,在你运行gnuplot时找出你实际运行的是什么:

    type gnuplot
    gnuplot is /SOMETHING/SOMEWHERE
    

    现在您知道您实际运行的是什么。注意结果。现在找出是什么类型的文件:

    file /SOMETHING/SOMEWHERE
    

    您希望得到 Mach-O 64-bit executable x86_64 的结果,这对于 Intel Mac 来说是正确的,除非您使用的是 Apple Silicon。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-12-14
      • 1970-01-01
      • 1970-01-01
      • 2022-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多