Advertisement
Guest User

NumPy error installing for Ubuntu 13.04 / Python 2.7.4

a guest
Sep 13th, 2013
1,586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 14.41 KB | None | 0 0
  1. ../bin/python setup.py develop
  2.  
  3.     running develop
  4.     running egg_info
  5.     writing requirements to MY_APPLICATION_NAME.egg-info/requires.txt
  6.     writing MY_APPLICATION_NAME.egg-info/PKG-INFO
  7.     writing top-level names to MY_APPLICATION_NAME.egg-info/top_level.txt
  8.     writing dependency_links to MY_APPLICATION_NAME.egg-info/dependency_links.txt
  9.     writing entry points to MY_APPLICATION_NAME.egg-info/entry_points.txt
  10.     reading manifest file 'MY_APPLICATION_NAME.egg-info/SOURCES.txt'
  11.     reading manifest template 'MANIFEST.in'
  12.     warning: no files found matching '*.ini'
  13.     warning: no files found matching '*.rst'
  14.     warning: no files found matching '*.ico' under directory 'MY_APPLICATION_NAME'
  15.     warning: no files found matching '*.pt' under directory 'MY_APPLICATION_NAME'
  16.     warning: no files found matching '*.mak' under directory 'MY_APPLICATION_NAME'
  17.     warning: no files found matching '*.xml' under directory 'MY_APPLICATION_NAME'
  18.     writing manifest file 'MY_APPLICATION_NAME.egg-info/SOURCES.txt'
  19.     running build_ext
  20.     Creating /home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/lib/python2.7/site-packages/MY_APPLICATION_NAME.egg-link (link to .)
  21.     MY_APPLICATION_NAME 0.0 is already the active version in easy-install.pth
  22.     Installing MY_APPLICATION_NAME script to /home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/bin
  23.     Installing MY_APPLICATION_NAME-config script to /home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/bin
  24.      
  25.     Installed /home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/MY_APPLICATION_NAME
  26.     Processing dependencies for MY_APPLICATION_NAME==0.0
  27.     Searching for numpy
  28.     Reading https://pypi.python.org/simple/numpy/
  29.     Best match: numpy 1.7.1
  30.     Downloading https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.zip#md5=9a72db3cad7a6286c0d22ee43ad9bc6c
  31.     Processing numpy-1.7.1.zip
  32.     Writing /tmp/easy_install-jcM6XQ/numpy-1.7.1/setup.cfg
  33.     Running numpy-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jcM6XQ/numpy-1.7.1/egg-dist-tmp-glH0W7
  34.     Running from numpy source directory.
  35.     Warning: distutils distribution has been initialized, it may be too late to add a subpackage commandWarning: distutils distribution has been initialized, it may be too late to add a subpackage fcompilernon-existing path in 'numpy/distutils': 'site.cfg'
  36.     Warning: distutils distribution has been initialized, it may be too late to add a subpackage distutilsWarning: distutils distribution has been initialized, it may be too late to add a subpackage testing/bin/sh: 1: svnversion: not found
  37.     Warning: distutils distribution has been initialized, it may be too late to add a subpackage f2pyWarning: distutils distribution has been initialized, it may be too late to add an extension _dummyWarning: distutils distribution has been initialized, it may be too late to add a library npysortWarning: distutils distribution has been initialized, it may be too late to add an extension multiarrayWarning: distutils distribution has been initialized, it may be too late to add an extension umathWarning: distutils distribution has been initialized, it may be too late to add an extension scalarmath/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1494: UserWarning:
  38.         Atlas (http://math-atlas.sourceforge.net/) libraries not found.
  39.         Directories to search for the libraries can be specified in the
  40.         numpy/distutils/site.cfg file (section [atlas]) or by setting
  41.         the ATLAS environment variable.
  42.       warnings.warn(AtlasNotFoundError.__doc__)
  43.     /tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1503: UserWarning:
  44.         Blas (http://www.netlib.org/blas/) libraries not found.
  45.         Directories to search for the libraries can be specified in the
  46.         numpy/distutils/site.cfg file (section [blas]) or by setting
  47.         the BLAS environment variable.
  48.       warnings.warn(BlasNotFoundError.__doc__)
  49.     /tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1506: UserWarning:
  50.         Blas (http://www.netlib.org/blas/) sources not found.
  51.         Directories to search for the sources can be specified in the
  52.         numpy/distutils/site.cfg file (section [blas_src]) or by setting
  53.         the BLAS_SRC environment variable.
  54.       warnings.warn(BlasSrcNotFoundError.__doc__)
  55.     Warning: distutils distribution has been initialized, it may be too late to add an extension _dotblasWarning: distutils distribution has been initialized, it may be too late to add an extension umath_testsWarning: distutils distribution has been initialized, it may be too late to add an extension multiarray_tests/bin/sh: 1: svnversion: not found
  56.     Warning: distutils distribution has been initialized, it may be too late to add a subpackage coreWarning: distutils distribution has been initialized, it may be too late to add an extension _compiled_baseWarning: distutils distribution has been initialized, it may be too late to add a subpackage libWarning: distutils distribution has been initialized, it may be too late to add a subpackage oldnumericWarning: distutils distribution has been initialized, it may be too late to add an extension _capiWarning: distutils distribution has been initialized, it may be too late to add a subpackage numarrayWarning: distutils distribution has been initialized, it may be too late to add an extension fftpack_liteWarning: distutils distribution has been initialized, it may be too late to add a subpackage fft/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1408: UserWarning:
  57.         Atlas (http://math-atlas.sourceforge.net/) libraries not found.
  58.         Directories to search for the libraries can be specified in the
  59.         numpy/distutils/site.cfg file (section [atlas]) or by setting
  60.         the ATLAS environment variable.
  61.       warnings.warn(AtlasNotFoundError.__doc__)
  62.     /tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1419: UserWarning:
  63.         Lapack (http://www.netlib.org/lapack/) libraries not found.
  64.         Directories to search for the libraries can be specified in the
  65.         numpy/distutils/site.cfg file (section [lapack]) or by setting
  66.         the LAPACK environment variable.
  67.       warnings.warn(LapackNotFoundError.__doc__)
  68.     /tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/system_info.py:1422: UserWarning:
  69.         Lapack (http://www.netlib.org/lapack/) sources not found.
  70.         Directories to search for the sources can be specified in the
  71.         numpy/distutils/site.cfg file (section [lapack_src]) or by setting
  72.         the LAPACK_SRC environment variable.
  73.       warnings.warn(LapackSrcNotFoundError.__doc__)
  74.     Warning: distutils distribution has been initialized, it may be too late to add an extension lapack_liteWarning: distutils distribution has been initialized, it may be too late to add a subpackage linalgWarning: distutils distribution has been initialized, it may be too late to add an extension mtrandWarning: distutils distribution has been initialized, it may be too late to add a subpackage randomWarning: distutils distribution has been initialized, it may be too late to add a subpackage maWarning: distutils distribution has been initialized, it may be too late to add a subpackage matrixlibWarning: distutils distribution has been initialized, it may be too late to add a subpackage compatWarning: distutils distribution has been initialized, it may be too late to add a subpackage polynomialWarning: distutils distribution has been initialized, it may be too late to add a subpackage docWarning: distutils distribution has been initialized, it may be too late to add a subpackage numpyFound executable /usr/bin/gfortran
  75.     _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
  76.     _configtest.o: In function `main':
  77.    /tmp/easy_install-jcM6XQ/numpy-1.7.1/_configtest.c:6: undefined reference to `exp'
  78.     collect2: error: ld returned 1 exit status
  79.     _configtest.o: In function `main':
  80.    /tmp/easy_install-jcM6XQ/numpy-1.7.1/_configtest.c:6: undefined reference to `exp'
  81.     collect2: error: ld returned 1 exit status
  82.     _configtest.c:1:5: warning: conflicting types for built-in function ‘exp’ [enabled by default]
  83.     _configtest.c:1:20: fatal error: Python.h: No such file or directory
  84.     compilation terminated.
  85.     _configtest.c:1:20: fatal error: Python.h: No such file or directory
  86.     compilation terminated.
  87.     Traceback (most recent call last):
  88.       File "setup.py", line 84, in <module>
  89.         entry_points=entry_points,
  90.       File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
  91.         dist.run_commands()
  92.       File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
  93.         self.run_command(cmd)
  94.       File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
  95.         cmd_obj.run()
  96.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 27, in run
  97.         self.install_for_development()
  98.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 129, in install_for_development
  99.         self.process_distribution(None, self.dist, not self.no_deps)
  100.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 706, in process_distribution
  101.         [requirement], self.local_index, self.easy_install
  102.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve
  103.         dist = best[req.key] = env.best_match(req, self, installer)
  104.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match
  105.         return self.obtain(req, installer) # try and download/install
  106.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain
  107.         return installer(requirement)
  108.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
  109.         return self.install_item(spec, dist.location, tmpdir, deps)
  110.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item
  111.         dists = self.install_eggs(spec, download, tmpdir)
  112.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
  113.         return self.build_and_install(setup_script, setup_base)
  114.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
  115.         self.run_setup(setup_script, setup_base, args)
  116.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
  117.         run_setup(setup_script, args)
  118.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
  119.         lambda: execfile(
  120.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in run
  121.         return func()
  122.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
  123.         {'__file__':setup_script, '__name__':'__main__'}
  124.       File "setup.py", line 214, in <module>
  125.        
  126.       File "setup.py", line 207, in setup_package
  127.        
  128.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/core.py", line 186, in setup
  129.       File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
  130.         dist.run_commands()
  131.       File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
  132.         self.run_command(cmd)
  133.       File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
  134.         cmd_obj.run()
  135.       File "/home/MY_ACCOUNT_NAME/projects/MY_APPLICATION_NAME/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 177, in run
  136.         self.run_command("egg_info")
  137.       File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
  138.         self.distribution.run_command(command)
  139.       File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
  140.         cmd_obj.run()
  141.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/command/egg_info.py", line 8, in run
  142.       File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
  143.         self.distribution.run_command(command)
  144.       File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
  145.         cmd_obj.run()
  146.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/command/build_src.py", line 152, in run
  147.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/command/build_src.py", line 169, in build_sources
  148.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/command/build_src.py", line 328, in build_extension_sources
  149.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/command/build_src.py", line 385, in generate_sources
  150.       File "numpy/core/setup.py", line 410, in generate_config_h
  151.        
  152.       File "numpy/core/setup.py", line 41, in check_types
  153.         'webmap',
  154.       File "numpy/core/setup.py", line 271, in check_types
  155.        
  156.     SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
  157.     /tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/misc_util.py:252: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
  158.     Error in atexit._run_exitfuncs:
  159.     Traceback (most recent call last):
  160.       File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  161.         func(*targs, **kargs)
  162.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
  163.     ImportError: No module named numpy.distutils
  164.     Error in sys.exitfunc:
  165.     Traceback (most recent call last):
  166.       File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  167.         func(*targs, **kargs)
  168.       File "/tmp/easy_install-jcM6XQ/numpy-1.7.1/numpy/distutils/misc_util.py", line 252, in clean_up_temporary_directory
  169.     ImportError: No module named numpy.distutils
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement