[SciPy-User] NumPy and SciPy test failures

Mads M. Hansen madsmh@gmail....
Wed Feb 1 13:41:28 CST 2012


Thanks, properly cleaning before building brought the errors down to
one which follows,

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'FileType')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/nose/failure.py", line 37, in runTest
    raise self.exc_class(self.exc_val).with_traceback(self.tb)
  File "/usr/lib/python3.2/site-packages/nose/loader.py", line 390, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3.2/site-packages/nose/importer.py", line 39,
in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3.2/site-packages/nose/importer.py", line 86,
in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib64/python3.2/site-packages/scipy/weave/__init__.py",
line 22, in <module>
    from .blitz_tools import blitz
  File "/usr/lib64/python3.2/site-packages/scipy/weave/blitz_tools.py",
line 6, in <module>
    from . import converters
  File "/usr/lib64/python3.2/site-packages/scipy/weave/converters.py",
line 19, in <module>
    c_spec.file_converter(),
  File "/usr/lib64/python3.2/site-packages/scipy/weave/c_spec.py",
line 74, in __init__
    self.init_info()
  File "/usr/lib64/python3.2/site-packages/scipy/weave/c_spec.py",
line 264, in init_info
    self.matching_types = [types.FileType]
AttributeError: 'module' object has no attribute 'FileType'

----------------------------------------------------------------------

2012/2/1 Pauli Virtanen <pav@iki.fi>:
> 01.02.2012 20:05, Mads M. Hansen kirjoitti:
>> Hm that's odd, I delete /usr/lib64/python3.2/site-packages/scipy (and
>> numpy/) prior to each reinstall - is scipy installed in
>> other places by defaultr?
>
> You'll also need to delete the build/ directory.
>
> --
> Pauli Virtanen
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-User mailing list