[Numpy-discussion] Error while upgrading to numpy 1.4.1

Vishal Rana ranavishal at gmail.com
Mon Jun 14 02:00:45 EDT 2010


Hi,

I am getting this error while upgrading to numpy 1.4.1 from 1.3 on ubuntu
10.04 using easy_install -U numpy command, I even tried downloading /
installing numpy 1.4.1 but no luck, help appreciated.

/usr/lib/python2.6/dist-packages/setuptools/package_index.py:156:
UserWarning: Unbuilt egg for setuptools [unknown version]
(/usr/lib/python2.6/dist-packages)
  Environment.__init__(self,*args,**kw)
/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py:216:
UserWarning: Unbuilt egg for setuptools [unknown version]
(/usr/lib/python2.6/dist-packages)
  self.local_index = Environment(self.shadow_path+sys.path)
Searching for numpy
Reading http://pypi.python.org/simple/numpy/
Reading http://numpy.scipy.org
Reading
http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
Reading http://numeric.scipy.org
Best match: numpy 1.4.1
Downloading
http://pypi.python.org/packages/source/n/numpy/numpy-1.4.1.tar.gz#md5=89b8a56e018b634f7d05c56f17bc4943
Processing numpy-1.4.1.tar.gz
Running numpy-1.4.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-5_dz2F/numpy-1.4.1/egg-dist-tmp-sYYNJd
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1392:
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__)
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1401:
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__)
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1404:
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__)
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1299:
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__)
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1310:
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__)
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/system_info.py:1313:
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__)
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgf90
Could not locate executable pgf77
Could not locate executable f90
Could not locate executable f95
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable gfortran
Could not locate executable g95
don't know how to compile Fortran code on platform 'posix'
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('distribute==0.6.10', 'console_scripts',
'easy_install')()
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
1760, in main
    with_ei_usage(lambda:
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
1741, in with_ei_usage
    return f()
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
1764, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
254, in run
    self.easy_install(spec, not self.no_deps)
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
489, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
519, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
698, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
975, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File
"/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line
964, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 29, in
run_setup
    lambda: execfile(
  File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 70, in
run
    return func()
  File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 31, in
<lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 187, in <module>
  File "setup.py", line 180, in setup_package
  File "/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/core.py", line
186, in setup
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/dist-packages/setuptools/command/bdist_egg.py",
line 167, in run
    self.run_command("egg_info")
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File
"/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/command/egg_info.py",
line 8, in run
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File
"/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/command/build_src.py",
line 152, in run
  File
"/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/command/build_src.py",
line 163, in build_sources
  File
"/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/command/build_src.py",
line 298, in build_library_sources
  File
"/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/command/build_src.py",
line 385, in generate_sources
  File "numpy/core/setup.py", line 657, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
/tmp/easy_install-5_dz2F/numpy-1.4.1/numpy/distutils/misc_util.py:248:
RuntimeWarning: Parent module 'numpy.distutils' not found while handling
absolute import
Running from numpy source directory.

Thanks
Vishal Rana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100613/21c42a00/attachment.html>


More information about the NumPy-Discussion mailing list