[SciPy-dev] Trouble with scikits/ann

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Jan 16 14:00:13 CST 2008


Hi all,

I had some trouble with the installation of the scikits 
package ann.

Traceback (most recent call last):
   File "setup.py", line 110, in ?
     test_suite = 'scikits.ann.tests.test_ann',
   File 
"/usr/lib/python2.4/site-packages/numpy/distutils/core.py", 
line 147, in setup
     config = configuration()
   File "setup.py", line 90, in configuration
     config.add_subpackage(DISTNAME)
   File 
"/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", 
line 834, in add_subpackage
     caller_level = 2)
   File 
"/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", 
line 817, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", 
line 749, in _get_configuration_from_setup_py
     ('.py', 'U', 1))
   File "scikits/ann/setup.py", line 38, in ?
     ANN_ROOT = 
os.path.join(os.path.sep,*(__file__.split(os.path.sep)[-6]))
IndexError: list index out of range

How can I resolve the problem ?

Cheers,
           Nils


More information about the Scipy-dev mailing list