[Numpy-discussion] numpy installation as non root using site.cfg

Poul Georg Moses pgmoses@engineering.ucsb....
Fri Sep 26 18:07:40 CDT 2008


Dear mailing list

I am trying to install numpy-1.1.1 on a cluster where I do not have root
permission. I have succesfully installed \
python2.5.2. I am using the cite.cfg file to include the blas and atlas
libraries. I have done that by setting the\
 defaults to:
library_dirs = /usr/lib
include_dirs = /usr/include

where blas and atlas is located. Then I type: python setup.py install
--home=$HOME
and get the following output
Running from numpy source directory.
F2PY Version 2_5585
Traceback (most recent call last):
  File "setup.py", line 96, in <module>
    setup_package()
  File "setup.py", line 89, in setup_package
    configuration=configuration )
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/core.py", line
150, in setup
    config = configuration()
  File "setup.py", line 56, in configuration
    config.add_subpackage('numpy')
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 850, in add_subpackage
    caller_level = 2)
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 833, in get_subpackage
    caller_level = caller_level + 1)
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 780, in _get_configuration_from_s\
etup_py
    config = setup_module.configuration(*args)
  File "numpy/setup.py", line 9, in configuration
    config.add_subpackage('core')
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 850, in add_subpackage
    caller_level = 2)
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 833, in get_subpackage
    caller_level = caller_level + 1)
  File "/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/misc_util.py",
line 780, in _get_configuration_from_s\
etup_py
    config = setup_module.configuration(*args)
  File "numpy/core/setup.py", line 299, in configuration
    blas_info = get_info('blas_opt',0)
  File
"/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/system_info.py", line
267, in get_info
    return cl().get_info(notfound_action)
  File
"/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/system_info.py", line
366, in __init__
    self.parse_config_files()
  File
"/data/pgmoses/SourceCode/numpy-1.1.1/numpy/distutils/system_info.py", line
372, in parse_config_files
    self.cp.read(self.files)
  File "/data/pgmoses/lib/python2.5/ConfigParser.py", line 267, in read
    self._read(fp, filename)
  File "/data/pgmoses/lib/python2.5/ConfigParser.py", line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /data/pgmoses/SourceCode/numpy-1.1.1/site.cfg, line: 60
'library_dirs = /usr/lib\n'

Do you have any suggestion to what I might be doing wrong

Best regards,

Poul Georg Moses

-- 
View this message in context: http://www.nabble.com/numpy-installation-as-non-root-using-site.cfg-tp19697706p19697706.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.



More information about the Numpy-discussion mailing list