Closed lim520 closed 10 years ago
W dniu 16.05.2014 01:35, lim520 pisze:
Dear Dr. Jochym
We recently got a new computer and was trying to install nipy and we were following the instruction from your website. We are encountering the following problem in installing Scipy.
Command /home/lim520/nipy/bin/python2.7 -c "import setuptools, tokenize;file='/home/lim520/nipy/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-6HHpcX-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/lim520/nipy/include/site/python2.7 failed with error code 1 in /home/lim520/nipy/build/scipy Storing debug log for failure in /home/lim520/.pip/pip.log.
We have installed all the prerequisite you have mentioned in your website.
I will be happy to help you but this message contains to little information. I will need the /home/lim520/.pip/pip.log file as well as the information on the version of the operating system and installed components (the os for starters, I will ask more detailed questions later based on this info).
Regards, P. Jochym
Paweł T. Jochym, PhD, Prof. Institute of Nuclear Physics, PAN Cracow, Poland
pip install scipy Downloading/unpacking scipy Downloading scipy-0.14.0.tar.gz (10.2MB): 10.2MB downloaded Running setup.py (path:/home/lim520/nipy/build/scipy/setup.py) egg_info for package scipy
warning: no previously-included files matching 'subr.f' found under directory 'scipy/linalg/src/iddist/src' no previously-included directories found matching 'scipy/special/tests/data/boost' no previously-included directories found matching 'scipy/special/tests/data/gsl' no previously-included directories found matching 'doc/build' no previously-included directories found matching 'doc/source/generated' no previously-included directories found matching '/pycache' warning: no previously-included files matching '~' found anywhere in distribution warning: no previously-included files matching '.bak' found anywhere in distribution warning: no previously-included files matching '_.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution
Installing collected packages: scipy Running setup.py install for scipy blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
openblas_info: libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. warnings.warn(AtlasNotFoundError.doc) blas_info: libraries blas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1530: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. warnings.warn(BlasNotFoundError.doc) blas_src_info: NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1533: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.doc)
Traceback (most recent call last):
File "
blas_mkl_info:
libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.doc)
blas_info:
libraries blas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1530: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.doc)
blas_src_info:
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1533: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.doc)
Traceback (most recent call last):
File "", line 1, in
File "/home/lim520/nipy/build/scipy/setup.py", line 237, in
setup_package()
File "/home/lim520/nipy/build/scipy/setup.py", line 234, in setup_package
setup(**metadata)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/home/lim520/nipy/build/scipy/setup.py", line 173, in configuration
config.add_subpackage('scipy')
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
caller_level = 2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
caller_level = caller_level + 1)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 12, in configuration
config.add_subpackage('integrate')
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
caller_level = 2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
caller_level = caller_level + 1)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/integrate/setup.py", line 12, in configuration
blas_opt = get_info('blas_opt',notfound_action=2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 350, in get_info
return cl().get_info(notfound_action)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 509, in get_info
raise self.notfounderror(self.notfounderror.doc)
numpy.distutils.system_info.BlasNotFoundError:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
Cleaning up... Command /home/lim520/nipy/bin/python2.7 -c "import setuptools, tokenize;file='/home/lim520/nipy/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-j0R65A-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/lim520/nipy/include/site/python2.7 failed with error code 1 in /home/lim520/nipy/build/scipy Storing debug log for failure in /home/lim520/.pip/pip.log
We have installed all the prerequisite you have mentioned in your website.
W dniu 17.05.2014 03:22, lim520 pisze:
pip install scipy Downloading/unpacking scipy Downloading scipy-0.14.0.tar.gz (10.2MB): 10.2MB downloaded Running setup.py (path:/home/lim520/nipy/build/scipy/setup.py) egg_info for package scipy
warning: no previously-included files matching '//subr//.f' found under directory 'scipy/linalg/src/id_dist/src' no previously-included directories found matching 'scipy/special/tests/data/boost' no previously-included directories found matching 'scipy/special/tests/data/gsl' no previously-included directories found matching 'doc/build' no previously-included directories found matching 'doc/source/generated' no previously-included directories found matching '//pycache' warning: no previously-included files matching '/~' found anywhere in distribution warning: no previously-included files matching '/.bak' found anywhere in distribution warning: no previously-included files matching '/.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution
Installing collected packages: scipy Running setup.py install for scipy blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
openblas_info: libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
I looks like you do not have lapac and blas development libraries installed in your system. You need to install some version of these libraries to compile SciPy
P.
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
Dear Dr.Jochym,
We have the red hat linux version of 6.5. We have installed the blas and lapack development files. But we still get the same error. The error in pip.log is as follows
Downloading/unpacking scipy Getting page https://pypi.python.org/simple/scipy/ URLs to search for versions for scipy:
https://pypi.python.org/simple/scipy/ Analyzing links from page https://pypi.python.org/simple/scipy/ Skipping https://pypi.python.org/packages/2.7/s/scipy/scipy-0.13.3-cp27-none-macosx_10_6_intel.whl#md5=4bc791c9f37645380cab2843e63d18db (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/2.7/s/scipy/scipy-0.14.0-cp27-none-macosx_10_6_intel.whl#md5=1b9608ed7c4b4490bec9ff0d6545fc93 (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.3/s/scipy/scipy-0.13.3-cp33-cp33m-macosx_10_6_intel.whl#md5=ca634955b1757fe5e22c6a8a035bb328 (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.3/s/scipy/scipy-0.14.0-cp33-cp33m-macosx_10_6_intel.whl#md5=771168a5239794e98ec076198f21775e (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.4/s/scipy/scipy-0.13.3-cp34-cp34m-macosx_10_6_intel.whl#md5=0042a2e09d1632b47ed4fdb411cf9821 (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Skipping https://pypi.python.org/packages/3.4/s/scipy/scipy-0.14.0-cp34-cp34m-macosx_10_6_intel.whl#md5=ab20559ad13a2406859d8a9a95863fd2 (from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.10.0.tar.gz#md5=e357c08425fd031dce63bc4905789088 (from https://pypi.python.org/simple/scipy/), version: 0.10.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.10.0.zip#md5=d1a4242266739433dcfe2096b0ab4007 (from https://pypi.python.org/simple/scipy/), version: 0.10.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.10.1.tar.gz#md5=6ad976549e22e04ca93e70cf55b70a22 (from https://pypi.python.org/simple/scipy/), version: 0.10.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.10.1.zip#md5=4156cc1b765eb186de9518a94b6c3518 (from https://pypi.python.org/simple/scipy/), version: 0.10.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.11.0.tar.gz#md5=842c81d35fd63579c41a8ca21a2419b9 (from https://pypi.python.org/simple/scipy/), version: 0.11.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.11.0.zip#md5=40b700ddde9ddab643b640fff7a9d753 (from https://pypi.python.org/simple/scipy/), version: 0.11.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.12.0.tar.gz#md5=8fb4da324649f655e8557ea92b998786 (from https://pypi.python.org/simple/scipy/), version: 0.12.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.12.0.zip#md5=e4b9f3cb2e965fc8751faedfb9164d08 (from https://pypi.python.org/simple/scipy/), version: 0.12.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.12.1.tar.gz#md5=906278290152fedfe79029371ca584a5 (from https://pypi.python.org/simple/scipy/), version: 0.12.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.12.1.zip#md5=3f23065fc45152c92c3588dad2f20c62 (from https://pypi.python.org/simple/scipy/), version: 0.12.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.0.tar.gz#md5=ffa1e9bfd2bbdf3f17f4cf8139084098 (from https://pypi.python.org/simple/scipy/), version: 0.13.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.0.zip#md5=bd588ce8255e4d5427b5b19e9da2d4c7 (from https://pypi.python.org/simple/scipy/), version: 0.13.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.1.tar.gz#md5=e082fe358a2b39cff235e5af4240f5a5 (from https://pypi.python.org/simple/scipy/), version: 0.13.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.1.zip#md5=485411032b02583b4eb63caec6f2a916 (from https://pypi.python.org/simple/scipy/), version: 0.13.1 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.2.tar.gz#md5=fcd110802b0bf3505ba567cf831566e1 (from https://pypi.python.org/simple/scipy/), version: 0.13.2 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.2.zip#md5=9befa30e546fba762a0c1695a509f731 (from https://pypi.python.org/simple/scipy/), version: 0.13.2 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.3.tar.gz#md5=0547c1f8e8afad4009cc9b5ef17a2d4d (from https://pypi.python.org/simple/scipy/), version: 0.13.3 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.13.3.zip#md5=20ff3a867cc5925ef1d654aed2ff7e88 (from https://pypi.python.org/simple/scipy/), version: 0.13.3 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.tar.gz#md5=d7c7f4ccf8b07b08d6fe49d5cd51f85d (from https://pypi.python.org/simple/scipy/), version: 0.14.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.zip#md5=7ee4fa9e756bab6b46b79f77c821cb68 (from https://pypi.python.org/simple/scipy/), version: 0.14.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.8.0.tar.gz#md5=f0bfc6141b90e6a31555b31486602251 (from https://pypi.python.org/simple/scipy/), version: 0.8.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.9.0.tar.gz#md5=ebfef6e8e82d15c875a4ee6a46d4e1cd (from https://pypi.python.org/simple/scipy/), version: 0.9.0 Found link https://pypi.python.org/packages/source/s/scipy/scipy-0.9.0.zip#md5=a37933c9e3c4fdf8d087624cd7dcb47d (from https://pypi.python.org/simple/scipy/), version: 0.9.0 Using version 0.14.0 (newest of versions: 0.14.0, 0.14.0, 0.13.3, 0.13.3, 0.13.2, 0.13.2, 0.13.1, 0.13.1, 0.13.0, 0.13.0, 0.12.1, 0.12.1, 0.12.0, 0.12.0, 0.11.0, 0.11.0, 0.10.1, 0.10.1, 0.10.0, 0.10.0, 0.9.0, 0.9.0, 0.8.0) Downloading from URL https://pypi.python.org/packages/source/s/scipy/scipy-0.14.0.tar.gz#md5=d7c7f4ccf8b07b08d6fe49d5cd51f85d (from https://pypi.python.org/simple/scipy/) Running setup.py (path:/home/lim520/nipy/build/scipy/setup.py) egg_info for package scipy running egg_info creating pip-egg-info/scipy.egg-info writing pip-egg-info/scipy.egg-info/PKG-INFO writing top-level names to pip-egg-info/scipy.egg-info/top_level.txt writing dependency_links to pip-egg-info/scipy.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching 'subr.f' found under directory 'scipy/linalg/src/iddist/src' no previously-included directories found matching 'scipy/special/tests/data/boost' no previously-included directories found matching 'scipy/special/tests/data/gsl' no previously-included directories found matching 'doc/build' no previously-included directories found matching 'doc/source/generated' no previously-included directories found matching '/pycache' warning: no previously-included files matching '~' found anywhere in distribution warning: no previously-included files matching '.bak' found anywhere in distribution warning: no previously-included files matching '_.swp' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt' Source in /home/lim520/nipy/build/scipy has version 0.14.0, which satisfies requirement scipy Installing collected packages: scipy Running setup.py install for scipy Running command /home/lim520/nipy/bin/python2.7 -c "import setuptools, tokenize;file='/home/lim520/nipy/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-H9c4ls-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/lim520/nipy/include/site/python2.7 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
openblas_info: libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. warnings.warn(AtlasNotFoundError.doc) blas_info: FOUND: libraries = ['blas'] library_dirs = ['/usr/lib64'] language = f77
FOUND:
libraries = ['blas']
library_dirs = ['/usr/lib64']
define_macros = [('NO_ATLAS_INFO', 1)]
language = f77
lapack_opt_info: lapack_mkl_info: mkl_info: libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /home/lim520/nipy/lib libraries lapack_atlas not found in /home/lim520/nipy/lib libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64 libraries lapack_atlas not found in /usr/local/lib64 libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/atlas libraries lapack_atlas not found in /usr/lib64/atlas libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2 libraries lapack_atlas not found in /usr/lib64/sse2 libraries ptf77blas,ptcblas,atlas not found in /usr/lib64 libraries lapack_atlas not found in /usr/lib64 libraries ptf77blas,ptcblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib numpy.distutils.system_info.atlas_threads_info NOT AVAILABLE
atlas_info: libraries f77blas,cblas,atlas not found in /home/lim520/nipy/lib libraries lapack_atlas not found in /home/lim520/nipy/lib libraries f77blas,cblas,atlas not found in /usr/local/lib64 libraries lapack_atlas not found in /usr/local/lib64 libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /usr/lib64/atlas libraries lapack_atlas not found in /usr/lib64/atlas libraries f77blas,cblas,atlas not found in /usr/lib64/sse2 libraries lapack_atlas not found in /usr/lib64/sse2 libraries f77blas,cblas,atlas not found in /usr/lib64 libraries lapack_atlas not found in /usr/lib64 libraries f77blas,cblas,atlas not found in /usr/lib libraries lapack_atlas not found in /usr/lib numpy.distutils.system_info.atlas_info NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1427: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. warnings.warn(AtlasNotFoundError.doc) lapack_info: libraries lapack not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1438: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. warnings.warn(LapackNotFoundError.doc) lapack_src_info: NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1441: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.doc)
Traceback (most recent call last):
File "
blas_mkl_info:
libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.doc)
blas_info:
FOUND:
libraries = ['blas']
library_dirs = ['/usr/lib64']
language = f77
FOUND:
libraries = ['blas']
library_dirs = ['/usr/lib64']
language = f77
FOUND:
libraries = ['blas']
library_dirs = ['/usr/lib64']
define_macros = [('NO_ATLAS_INFO', 1)]
language = f77
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /home/lim520/nipy/lib
libraries lapack_atlas not found in /home/lim520/nipy/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
libraries lapack_atlas not found in /usr/local/lib64
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/atlas
libraries lapack_atlas not found in /usr/lib64/atlas
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
libraries lapack_atlas not found in /usr/lib64/sse2
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
libraries lapack_atlas not found in /usr/lib64
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in /home/lim520/nipy/lib
libraries lapack_atlas not found in /home/lim520/nipy/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib64
libraries lapack_atlas not found in /usr/local/lib64
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /usr/lib64/atlas
libraries lapack_atlas not found in /usr/lib64/atlas
libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
libraries lapack_atlas not found in /usr/lib64/sse2
libraries f77blas,cblas,atlas not found in /usr/lib64
libraries lapack_atlas not found in /usr/lib64
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1427: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.doc)
lapack_info:
libraries lapack not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE /home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1427: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.doc)
lapack_info:
libraries lapack not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1438: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.doc)
lapack_src_info:
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1441: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.doc)
Traceback (most recent call last):
File "
File "/home/lim520/nipy/build/scipy/setup.py", line 237, in
setup_package()
File "/home/lim520/nipy/build/scipy/setup.py", line 234, in setup_package
setup(**metadata)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/home/lim520/nipy/build/scipy/setup.py", line 173, in configuration
config.add_subpackage('scipy')
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
caller_level = 2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
caller_level = caller_level + 1)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 13, in configuration
config.add_subpackage('interpolate')
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
caller_level = 2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
caller_level = caller_level + 1)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/interpolate/setup.py", line 11, in configuration
lapack_opt = get_info('lapack_opt', notfound_action=2)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 350, in get_info
return cl().get_info(notfound_action)
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 509, in get_info
raise self.notfounderror(self.notfounderror.__doc__)
numpy.distutils.system_info.LapackNotFoundError:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
Cleaning up... Removing temporary dir /home/lim520/nipy/build... Command /home/lim520/nipy/bin/python2.7 -c "import setuptools, tokenize;file='/home/lim520/nipy/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-H9c4ls-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/lim520/nipy/include/site/python2.7 failed with error code 1 in /home/lim520/nipy/build/scipy
W dniu 17.05.2014 22:28, lim520 pisze:
Dear Dr.Jochym,
We have the red hat linux version of 6.5. We have installed the blas and lapack development files. But we still get the same error.
I have no access to RHEL 6.5 so I cannot reproduce this but:
The blas library is found and used but not the lapack. Please check if you have all required parts. You need either ATLAS package (free, with devel parts) or standard lapack (free, not optimized) or mkl libraries (non-free but not expensive, actually recommended).
The messages are clear - the setup procedure could not find the lapack libraries. If you installed the libraries by non-standard means (eg. by hand compilation from source) or in non-standard place you need to point to them by the environment variable.
P.
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
W dniu 17.05.2014 22:28, lim520 pisze:
Dear Dr.Jochym,
We have the red hat linux version of 6.5. We have installed the blas and lapack development files. But we still get the same error. The error in pip.log is as follows
I hope you succeed in installing. If not do not bother to fight. I have found an alternative and much better method of installing the environment and packages. I will update the docs soon (I hope today or tomorrow). I am currently testing the method on CetnOS 6.5 (practically identical to RHEL 6.5). Just wait for a new version of the install docs. You will be glad you did. Otherwise you will just waste few hours of your time.
P.
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
W dniu 17.05.2014 22:28, lim520 pisze:
Dear Dr.Jochym,
We have the red hat linux version of 6.5. We have installed the blas and lapack development files. But we still get the same error. The error in pip.log is as follows
As I have promised ( ;) the new instructions are on line on my page. Check the installation document at:
http://nbviewer.ipython.org/github/jochym/qe-doc/blob/master/Installation.ipynb
I have verified the procedure on CentOS 6.5. It should work on RHEL 6.5 without any problems. Note a slight difference in activation/deactivation commands. The whole procedure is much cleaner, simpler and faster. Please let me know how it went!
Good luck!
P. Jochym
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
Dear Dr.Jochym,
Thank you. we are able to install and run ipython scripts. We are encountering a problem with 'Lattice Dynamics ' and QHA calculation. We are using plato to submit our scripts and it is giving us the following error. we have verified the calc directory and found that it has the following directories "tmp, matdyn.in ph.in phdos.in pw.in pw.out q2r.in run-pw.pbs SiC-QHA.exxx SiCQHA.exx SicQHA.oxx SicQHA.oxx. Please let me know if you need any other information?
Thanks
figsize(9,6)
plot(qe.results['phdos'][0],qe.results['phdos'][1],label='SiC PDOS');
xlim(0,max(qe.results['phdos'][0])) # Limit the x-axis
xlabel('Frequency (cm$^{-1}$)'); # Put proper description on axis
ylabel('PDOS (a.u.)')
legend();
KeyError Traceback (most recent call last)
W dniu 20.05.2014 23:39, lim520 pisze:
Dear Dr.Jochym,
Thank you. we are able to install and run ipython scripts.
Did you use the new procedure ? Any problems with it? I would really appreciate a short report about how it went.
We are encountering a problem with 'Lattice Dynamics ' and QHA calculation. We are using plato to submit our scripts and it is giving us the following error. we have verified the calc directory and found that it has the following directories "tmp, matdyn.in ph.in phdos.in pw.in pw.out q2r.in run-pw.pbs SiC-QHA.exxx SiCQHA.exx SicQHA.oxx SicQHA.oxx. Please let me know if you need any other information?
It looks like unfinished calculation on plato. Check all the output files and *.exx files for signs of errors.
P.
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
Dear Dr. Jochym We have used the new installation procedure. And it took us only around 10 minutes to complete the whole installation procedure.We didn't encounter any trouble while installing. It is really an easy procedure than the previous one.
Thanking you for making the installation process so easy.
With regards
Linu
W dniu 21.05.2014 19:15, lim520 pisze:
Dear Dr. Jochym We have used the new installation procedure. And it took us only around 10 minutes to complete the whole installation procedure.We didn't encounter any trouble while installing. It is really an easy procedure than the previous one.
Thanking you for making the installation process so easy.
Thanks for the report. I am glad it worked well. Furthermore the new procedure gives you an easy access to a huge repository of other data analysis python packages.
Regards, P.
Paweł T. Jochym Institute of Nuclear Physics, PAN Cracow, Poland
Dear Dr. Jochym
We recently got a new computer and was trying to install nipy and we were following the instruction from your website. We are encountering the following problem in installing Scipy.
pip install scipy Downloading/unpacking scipy Downloading scipy-0.14.0.tar.gz (10.2MB): 10.2MB downloaded Running setup.py (path:/home/lim520/nipy/build/scipy/setup.py) egg_info for package scipy
Installing collected packages: scipy Running setup.py install for scipy blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib'] NOT AVAILABLE
blas_mkl_info:
libraries mkl,vml,guide not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64/atlas', '/usr/lib64/sse2', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521: UserWarning:
warnings.warn(AtlasNotFoundError.doc)
blas_info:
libraries blas not found in ['/home/lim520/nipy/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib']
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1530: UserWarning:
warnings.warn(BlasNotFoundError.doc)
blas_src_info:
NOT AVAILABLE
/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py:1533: UserWarning:
warnings.warn(BlasSrcNotFoundError.doc)
Traceback (most recent call last):
File "", line 1, in
File "/home/lim520/nipy/build/scipy/setup.py", line 237, in
File "/home/lim520/nipy/build/scipy/setup.py", line 234, in setup_package
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup
File "/home/lim520/nipy/build/scipy/setup.py", line 173, in configuration
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
File "scipy/setup.py", line 12, in configuration
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
File "scipy/integrate/setup.py", line 12, in configuration
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 350, in get_info
File "/home/lim520/nipy/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 509, in get_info
numpy.distutils.system_info.BlasNotFoundError:
Cleaning up... Command /home/lim520/nipy/bin/python2.7 -c "import setuptools, tokenize;file='/home/lim520/nipy/build/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-j0R65A-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/lim520/nipy/include/site/python2.7 failed with error code 1 in /home/lim520/nipy/build/scipy Storing debug log for failure in /home/lim520/.pip/pip.log
We have installed all the prerequisite you have mentioned in your website.
Kindly please help in this regards
Linu