Python:importorror:没有名为numpy的模块

2024-05-02 10:28:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试运行bash脚本,并且反复出现以下错误

File "/usr/share/fsl/5.0/bin/aff2rigid", line 75, in <module>
    from numpy import *
ImportError: No module named numpy

我已经安装了最新版本的Numpy

dev@dev-OptiPlex-780:~$ sudo apt-get install python-numpy
python-numpy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.

我不明白为什么当我已经安装了最新版本的Numpy时,这个错误会重复出现。

如果我做错了什么请告诉我


Tags: dev版本numpy脚本bashsharebinusr