mising numpy.testing.decorators
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NIPY |
New
|
Undecided
|
Unassigned |
Bug Description
I tried a fresh install on mac (10.5).
I have python 2.5, numpy 1.2.1, scipy 0.7.0, and matplotlib 0.98.5.2 (binary downloads), and ipython 0.9.1 (source install), which all seem to work fine.
However when I try to build nipy, I get the error below.
I tried removing the testing code, but then got a message about missing scipy.weave.
No rush - I know the code's fresh - just wanted to be sure I wasn't off on the wrong track or missed something obvious.
#546 bash-Sun Mar 01, 02:13 PM ~/downloads/
bzr update
Tree is up to date at revision 1725.
#547 bash-Sun Mar 01, 02:13 PM ~/downloads/
python setup.py build_ext --inplace
Traceback (most recent call last):
File "setup.py", line 4, in <module>
from neuroimaging import packages, __version__, __doc__
File "/Users/
from neuroimaging.
File "/Users/
import decorators as dec
File "/Users/
from numpy.testing.
ImportError: No module named decorators
That traceback says there is no decorators module in the numpy you
have installed. It's possible there's something wrong with your numpy
testing framework (which nipy uses).
I just installed the numpy binary from SourceForge:
numpy-1. 2.1-py2. 5-macosx10. 5.dmg
And the testing decorators are there. Could you try running the numpy
tests in ipython and report back the result?
import numpy as np
np.test()
Thanks!
Chris
On Sun, Mar 1, 2009 at 11:20 AM, pieper <email address hidden> wrote: python/ nipy/nipy python/ nipy/nipy pieper/ downloads/ python/ nipy/nipy/ neuroimaging/ __init_ _.py", line 76, in <module> testing import Tester pieper/ downloads/ python/ nipy/nipy/ neuroimaging/ testing/ __init_ _.py", line 33, in <module> pieper/ downloads/ python/ nipy/nipy/ neuroimaging/ testing/ decorators. py", line 7, in <module> decorators import *
> Public bug reported:
>
> I tried a fresh install on mac (10.5).
>
> I have python 2.5, numpy 1.2.1, scipy 0.7.0, and matplotlib 0.98.5.2
> (binary downloads), and ipython 0.9.1 (source install), which all seem
> to work fine.
>
> However when I try to build nipy, I get the error below.
>
> I tried removing the testing code, but then got a message about missing
> scipy.weave.
>
> No rush - I know the code's fresh - just wanted to be sure I wasn't off
> on the wrong track or missed something obvious.
>
>
> #546 bash-Sun Mar 01, 02:13 PM ~/downloads/
> bzr update
> Tree is up to date at revision 1725.
> #547 bash-Sun Mar 01, 02:13 PM ~/downloads/
> python setup.py build_ext --inplace
> Traceback (most recent call last):
> File "setup.py", line 4, in <module>
> from neuroimaging import packages, __version__, __doc__
> File "/Users/
> from neuroimaging.
> File "/Users/
> import decorators as dec
> File "/Users/
> from numpy.testing.
> ImportError: No module named decorators
>
> ** Affects: nipy
> Importance: Undecided
> Status: New