Hello NuPIC,
after successful installation of NuPIC on Ubuntu 15.10 Desktop. I was
trying to install it on Ubuntu 15.10 Server. But I get following error:
nupic@nupic-virtualbox:~/nupic_experiments$ pip install
https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.0-cp27-none-linux_x86_64.whl
--user
Collecting nupic.bindings==0.4.0 from
https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.0-cp27-none-linux_x86_64.whl
Downloading
https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.0-cp27-none-linux_x86_64.whl
(8.6MB)
100% |████████████████████████████████| 8.6MB 40kB/s
Collecting pytest-cov==1.6 (from nupic.bindings==0.4.0)
Downloading pytest-cov-1.6.tar.gz
Collecting pytest-xdist==1.8 (from nupic.bindings==0.4.0)
Downloading pytest-xdist-1.8.zip
Collecting pytest==2.5.1 (from nupic.bindings==0.4.0)
Downloading pytest-2.5.1.tar.gz (577kB)
100% |████████████████████████████████| 581kB 438kB/s
Collecting numpy==1.9.2 (from nupic.bindings==0.4.0)
Downloading numpy-1.9.2.tar.gz (4.0MB)
100% |████████████████████████████████| 4.0MB 114kB/s
Collecting cov-core>=1.6 (from pytest-cov==1.6->nupic.bindings==0.4.0)
Downloading cov-core-1.15.0.tar.gz
Collecting execnet>=1.0.8 (from pytest-xdist==1.8->nupic.bindings==0.4.0)
Downloading execnet-1.4.1-py2.py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 529kB/s
Collecting py>=1.4.19 (from pytest==2.5.1->nupic.bindings==0.4.0)
Downloading py-1.4.31-py2.py3-none-any.whl (81kB)
100% |████████████████████████████████| 86kB 559kB/s
Collecting coverage>=3.6 (from
cov-core>=1.6->pytest-cov==1.6->nupic.bindings==0.4.0)
Downloading coverage-4.0.3.tar.gz (354kB)
100% |████████████████████████████████| 356kB 540kB/s
Collecting apipkg>=1.4 (from
execnet>=1.0.8->pytest-xdist==1.8->nupic.bindings==0.4.0)
Downloading apipkg-1.4-py2.py3-none-any.whl
Building wheels for collected packages: pytest-cov, pytest-xdist,
pytest, numpy, cov-core, coverage
Running setup.py bdist_wheel for pytest-cov ... done
Stored in directory:
/home/nupic/.cache/pip/wheels/f0/80/04/18521c89d953029a0ee7416a4b0c3a70d59dc6b5921c30ed26
Running setup.py bdist_wheel for pytest-xdist ... done
Stored in directory:
/home/nupic/.cache/pip/wheels/54/8b/ac/6621aa5bd539817a85ee68932f0241ca6e7f33a11f1572cfb2
Running setup.py bdist_wheel for pytest ... done
Stored in directory:
/home/nupic/.cache/pip/wheels/1e/21/89/f14a9ad7ebcbba2c57cc056b80034d2cdecae1166a687022fc
Running setup.py bdist_wheel for numpy ... error
Complete output from command /usr/bin/python -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-nTxf4a/numpy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" bdist_wheel -d /tmp/tmpyUrY0Zpip-wheel- --python-tag cp27:
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
non-existing path in 'numpy/f2py': 'docs'
non-existing path in 'numpy/f2py': 'f2py.1'
/bin/sh: 1: svnversion: not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib',
'/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/usr/local/lib',
'/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1603:
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 ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1612:
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1615:
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__)
NOT AVAILABLE
/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_3_10_threads_info
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_3_10_info
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
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/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 /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1505:
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 ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1516:
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1519:
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__)
NOT AVAILABLE
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'define_macros'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.linux-x86_64-2.7
creating build/src.linux-x86_64-2.7/numpy
creating build/src.linux-x86_64-2.7/numpy/distutils
building library "npymath" sources
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
don't know how to compile Fortran code on platform 'posix'
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include
-I/usr/include/python2.7 -c'
x86_64-linux-gnu-gcc: _configtest.c
sh: 1: x86_64-linux-gnu-gcc: not found
sh: 1: x86_64-linux-gnu-gcc: not found
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-nTxf4a/numpy/setup.py", line 251, in <module>
setup_package()
File "/tmp/pip-build-nTxf4a/numpy/setup.py", line 243, in setup_package
setup(**metadata)
File "/tmp/pip-build-nTxf4a/numpy/numpy/distutils/core.py", line
169, in setup
return old_setup(**new_attr)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/dist-packages/wheel/bdist_wheel.py",
line 179, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build.py", line 39,
in run
old_build.run(self)
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
153, in run
self.build_sources()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
164, in build_sources
self.build_library_sources(*libname_info)
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
299, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
386, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 686, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C
program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
Failed building wheel for numpy
Running setup.py clean for numpy
Running setup.py bdist_wheel for cov-core ... done
Stored in directory:
/home/nupic/.cache/pip/wheels/b2/26/b1/27d3fd0941d03d502f3669209122a254c0afe18131ad903021
Running setup.py bdist_wheel for coverage ... done
Stored in directory:
/home/nupic/.cache/pip/wheels/ad/e9/43/c707c8a790537e194952b96ebaa8156bdee0e6ec6115c6f140
Successfully built pytest-cov pytest-xdist pytest cov-core coverage
Failed to build numpy
Installing collected packages: py, pytest, coverage, cov-core,
pytest-cov, apipkg, execnet, pytest-xdist, numpy, nupic.bindings
Running setup.py install for numpy ... error
Complete output from command /usr/bin/python -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-nTxf4a/numpy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-WBXDMR-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=:
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
non-existing path in 'numpy/f2py': 'docs'
non-existing path in 'numpy/f2py': 'f2py.1'
/bin/sh: 1: svnversion: not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib',
'/usr/lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['/usr/local/lib',
'/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1603:
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 ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1612:
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1615:
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__)
NOT AVAILABLE
/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_3_10_threads_info
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_3_10_info
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
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/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 /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1505:
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 ['/usr/local/lib', '/usr/lib']
NOT AVAILABLE
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1516:
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
/tmp/pip-build-nTxf4a/numpy/numpy/distutils/system_info.py:1519:
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__)
NOT AVAILABLE
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'define_macros'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
don't know how to compile Fortran code on platform 'posix'
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
compile options: '-Inumpy/core/src/private -Inumpy/core/src
-Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include
-I/usr/include/python2.7 -c'
x86_64-linux-gnu-gcc: _configtest.c
sh: 1: x86_64-linux-gnu-gcc: not found
sh: 1: x86_64-linux-gnu-gcc: not found
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-nTxf4a/numpy/setup.py", line 251, in <module>
setup_package()
File "/tmp/pip-build-nTxf4a/numpy/setup.py", line 243, in
setup_package
setup(**metadata)
File "/tmp/pip-build-nTxf4a/numpy/numpy/distutils/core.py", line
169, in setup
return old_setup(**new_attr)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in
run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/install.py", line
62, in run
r = self.setuptools_run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/install.py", line
36, in setuptools_run
return distutils_install.run(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 601,
in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build.py", line 39,
in run
old_build.run(self)
File "/usr/lib/python2.7/distutils/command/build.py", line 128,
in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
153, in run
self.build_sources()
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
164, in build_sources
self.build_library_sources(*libname_info)
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
299, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File
"/tmp/pip-build-nTxf4a/numpy/numpy/distutils/command/build_src.py", line
386, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 686, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C
program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-nTxf4a/numpy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-WBXDMR-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=" failed
with error code 1 in /tmp/pip-build-nTxf4a/numpy