Toybrick

标题: 【已解决】from scipy import stats 报错 [打印本页]

作者: kitedream    时间: 2019-3-18 13:25
标题: 【已解决】from scipy import stats 报错
本帖最后由 kitedream 于 2019-3-21 11:50 编辑

  1. [toybrick@localhost openpose_tf_release]$ python3
  2. Python 3.6.8 (default, Jan 31 2019, 09:06:51)
  3. [GCC 8.2.1 20181215 (Red Hat 8.2.1-6)] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> from scipy import stats
  6. Traceback (most recent call last):
  7.   File "<stdin>", line 1, in <module>
  8.   File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/stats/__init__.py", line 345, in <module>
  9.     from .stats import *
  10.   File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/stats/stats.py", line 169, in <module>
  11.     import scipy.special as special
  12.   File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/special/__init__.py", line 640, in <module>
  13.     from ._ufuncs import *
  14. ImportError: libgfortran.so.4: cannot open shared object file: No such file or directory
复制代码


作者: zhangzj    时间: 2019-3-18 15:58
本帖最后由 zhangzj 于 2019-3-18 16:00 编辑

scipy更新到1.2.0试一下,官方网盘上面有编译好的轮子包




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3