我刚刚克隆了NiPy repository,但是当我尝试导入nipy.algorithms.registration
时,我收到以下错误:
In [1]: import nipy.algorithms.registration
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-17bae03bf7b5> in <module>()
----> 1 import nipy.algorithms.registration
/home/despo/dbliss/nipy/nipy/algorithms/__init__.py in <module>()
7 __docformat__ = 'restructuredtext'
8
----> 9 import statistics
10 import fwhm, interpolation, kernel_smooth, diagnostics
11
/home/despo/dbliss/nipy/nipy/algorithms/statistics/__init__.py in <module>()
6 __docformat__ = 'restructuredtext'
7
----> 8 from . import intvol, rft, onesample, formula
9 from ._quantile import _quantile as quantile, _median as median
10
ImportError: cannot import name intvol
我发现存储库中有两个名为intvol的文件:intvol.c和intvol.pyx。发生了什么事?