【问题标题】:How to fix "ImportError: libgfortran.so.5: cannot open shared object file: No such file or directory." in ubuntu 18.04 aarch64如何修复“ImportError:libgfortran.so.5:无法打开共享对象文件:没有这样的文件或目录。”在 ubuntu 18.04 aarch64
【发布时间】:2020-09-01 00:30:55
【问题描述】:

我正在我的 rk3399pro 上测试 rknn api,它是 arm64,ubuntu18.04。 我得到了 libgfortran.so.5 导入错误。

我尝试“apt-get install gfortran”,但只有 4.7.4.0 版本。 我尝试“find /usr -name libgfortran*”。结果是:

/usr/lib/aarch64-linux-gnu/libgfortran.so.4.0.0
/usr/lib/aarch64-linux-gnu/libgfortran.so.4
/usr/lib/gcc/aarch64-linux-gnu/7/libgfortran.spec
/usr/lib/gcc/aarch64-linux-gnu/7/libgfortran.so
/usr/lib/gcc/aarch64-linux-gnu/7/libgfortran.a
/usr/share/doc/libgfortran4
/usr/share/doc/libgfortran-7-dev

我应该如何解决它?

【问题讨论】:

  • 我已经修好了。
  • sudo apt-get install libgfortran5-dbg

标签: ubuntu ubuntu-18.04 apt-get


【解决方案1】:
sudo apt-get update 
sudo apt-get install libgfortran5

【讨论】:

    【解决方案2】:

    这对我有用

    pip install --upgrade scipy
    

    【讨论】:

      猜你喜欢
      • 2019-01-12
      • 2020-07-19
      • 2015-12-31
      • 2014-07-29
      • 1970-01-01
      • 2022-11-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多