[SciPy-user] Numpy on AIX 5.3: numpy.test() failure - no such option 'doctest-extension'

Dr. Loris Bennett loris.bennett@fu-berlin...
Fri Jun 12 04:58:16 CDT 2009


Hi,

With a little help from the list I managed install numpy. However the
tests fail with

   nose.config.ConfigError: Error reading config file 'setup.cfg': no
   such option 'doctest-extension'

I installed nose from the source package without using
setuptools.

Any help would be much appreciated. Full error below.

Cheers

Loris


Python 2.6.2 (r262:71600, May 20 2009, 15:23:26) 
[GCC 4.3.3] on aix5
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.3.0
NumPy is installed in /opt/sw/python/Python-2.6.2/lib/python2.6/site-packages/numpy
Python version 2.6.2 (r262:71600, May 20 2009, 15:23:26) [GCC 4.3.3]
nose version 0.11.1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/sw/python/Python-2.6.2/lib/python2.6/site-packages/numpy/testing/nosetester.py", line 251, in test
    t = NumpyTestProgram(argv=argv, exit=False, plugins=plugins)
  File "nose/core.py", line 113, in __init__
    argv=argv, testRunner=testRunner, testLoader=testLoader)
  File "/opt/sw/python/Python-2.6.2/lib/python2.6/unittest.py", line 816, in __init__
    self.parseArgs(argv)
  File "nose/core.py", line 130, in parseArgs
    self.config.configure(argv, doc=self.usage())
  File "nose/config.py", line 249, in configure
    options, args = self._parseArgs(argv, cfg_files)
  File "nose/config.py", line 237, in _parseArgs
    return parser.parseArgsAndConfigFiles(argv[1:], cfg_files)
  File "nose/config.py", line 132, in parseArgsAndConfigFiles
    self._applyConfigurationToValues(self._parser, config, values)
  File "nose/config.py", line 118, in _applyConfigurationToValues
    name=name, filename=filename)
  File "nose/config.py", line 234, in warn_sometimes
    raise ConfigError(msg)
nose.config.ConfigError: Error reading config file 'setup.cfg': no such option 'doctest-extension'


-- 
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany



More information about the SciPy-user mailing list