Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Ubuntu 13.10 和 python 2.7。运行代码时出现此错误。我安装了 FFTW,但不确定为什么会出现此错误。这是我的代码:
import math from gnuradio import gr import numpy import scipy.signal import pyfftw
这是我得到错误的地方。任何帮助都会很棒。谢谢
检查python中的sys.path。这告诉你模块搜索路径。如果它不在那里,也不在 %PYTHONPATH% 路径中(也应该在 sys.path 中),那么它应该无法找到它。如果你安装了一个模块,解释器仍然需要知道在哪里寻找它,如果它不在默认搜索位置。