赞
踩
在捣鼓树莓派获取传感器数据时,执行import numpy时报错
错误信息一大段如下,按照其中的错误信息去网上搜寻解决方法
- root@raspberrypi:/home/pi/agri# python3
- Python 3.5.3 (default, Sep 27 2018, 17:25:39)
- [GCC 6.3.0 20170516] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import numpy
- Traceback (most recent call last):
- File "/usr/local/lib/python3.5/dist-packages/numpy/core/__init__.py", line 24, in <module>
- from . import multiarray
- File "/usr/local/lib/python3.5/dist-packages/numpy/core/multiarray.py", line 14, in <module>
- from . import overrides
- File "/usr/local/lib/python3.5/dist-packages/numpy/core/overrides.py", line 7, in <module>
- from numpy.core._multiarray_umath import (
- ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
-
- During handling of the above exception, another exception occurred:
-
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/local/lib/python3.5/dist-packages/numpy/__init__.py", line 142, in <module>
- from . import core
- File "/usr/local/lib/python3.5/dist-packages/numpy/core/__init__.py", line 54, in <module>
- raise ImportError(msg)
- ImportError
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。