[SciPy-User] Cannot build SciPy : File contains no section headers.

Sena Johns senajohns@gmail....
Wed Sep 22 22:43:20 CDT 2010


Hi,

I'm trying to install Numpy and SciPy using this following method :
http://www.scipy.org/Installing_SciPy/Linux#head-7ce43956a69ec51c6f2cedd894a4715d5bfff974
But I get this error :

python setup.py config --compiler=intel --fcompiler=intel build_clib
--compiler=intel --fcompiler=intel build_ext --compiler=intel
--fcompiler=intel install
Warning: No configuration returned, assuming unavailable.Traceback (most
recent call last):
  File "setup.py", line 160, in <module>
    setup_package()
  File "setup.py", line 152, in setup_package
    configuration=configuration )
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/core.py",
line 152, in setup
    config = configuration()
  File "setup.py", line 118, in configuration
    config.add_subpackage('scipy')
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 972, in add_subpackage
    caller_level = 2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 941, in get_subpackage
    caller_level = caller_level + 1)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 8, in configuration
    config.add_subpackage('integrate')
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 972, in add_subpackage
    caller_level = 2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 941, in get_subpackage
    caller_level = caller_level + 1)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/integrate/setup.py", line 10, in configuration
    blas_opt = get_info('blas_opt',notfound_action=2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 310, in get_info
    return cl().get_info(notfound_action)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 409, in __init__
    self.parse_config_files()
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 416, in parse_config_files
    self.cp.read(self.files)
  File "/opt/cluster/software/python-2.5.4//lib/python2.5/ConfigParser.py",
line 267, in read
    self._read(fp, filename)
  File "/opt/cluster/software/python-2.5.4//lib/python2.5/ConfigParser.py",
line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /var/tmp/NUMPY/scipy-0.8.0/site.cfg, line: 57
'library_dirs = /usr/lib/:/usr/lib64/\n'
terrawulf:/var/tmp/NUMPY/scipy-0.8.0 # vi site.cfg
terrawulf:/var/tmp/NUMPY/scipy-0.8.0 # python setup.py config
--compiler=intel --fcompiler=intel build_clib --compiler=intel
--fcompiler=intel build_ext --compiler=intel --fcompiler=intel install
Warning: No configuration returned, assuming unavailable.Traceback (most
recent call last):
  File "setup.py", line 160, in <module>
    setup_package()
  File "setup.py", line 152, in setup_package
    configuration=configuration )
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/core.py",
line 152, in setup
    config = configuration()
  File "setup.py", line 118, in configuration
    config.add_subpackage('scipy')
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 972, in add_subpackage
    caller_level = 2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 941, in get_subpackage
    caller_level = caller_level + 1)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 8, in configuration
    config.add_subpackage('integrate')
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 972, in add_subpackage
    caller_level = 2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 941, in get_subpackage
    caller_level = caller_level + 1)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/misc_util.py",
line 878, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/integrate/setup.py", line 10, in configuration
    blas_opt = get_info('blas_opt',notfound_action=2)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 310, in get_info
    return cl().get_info(notfound_action)
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 409, in __init__
    self.parse_config_files()
  File
"/opt/cluster/software/python-2.5.4/lib/python2.5/site-packages/numpy/distutils/system_info.py",
line 416, in parse_config_files
    self.cp.read(self.files)
  File "/opt/cluster/software/python-2.5.4//lib/python2.5/ConfigParser.py",
line 267, in read
    self._read(fp, filename)
  File "/opt/cluster/software/python-2.5.4//lib/python2.5/ConfigParser.py",
line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /var/tmp/NUMPY/scipy-0.8.0/site.cfg, line: 60
' library_dirs = /opt/intel/mkl/10.0.1.014/lib/64/\n'

Do you have any suggestions ?
I'm on Suse 10.1.

Thanks & regards,
Sena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100923/ab36ac82/attachment.html 


More information about the SciPy-User mailing list