Not able to install numpy on pypy3 windows 10

Create issue
Issue #3169 resolved
Mehul Batra created an issue

Collecting pandas
Using cached pandas-1.0.1.tar.gz (4.9 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'error'

ERROR: Command errored out with exit status 1:
command: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"''
cwd: None
Complete output (243 lines):
Ignoring numpy: markers 'python_version >= "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.7" and platform_system == "AIX"' don't match your environment
Collecting setuptools
Using cached setuptools-45.2.0-py3-none-any.whl (584 kB)
Collecting wheel
Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Collecting Cython>=0.29.13
Using cached Cython-0.29.15-py2.py3-none-any.whl (968 kB)
Collecting numpy==1.13.3
Using cached numpy-1.13.3.zip (5.0 MB)
Installing collected packages: setuptools, wheel, Cython, numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py'"'"'; file='"'"'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-record-gctpevwc\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay' --compile --install-headers 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay\include'
cwd: C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy
Complete output (223 lines):
Running from numpy source directory.

  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:

    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)


  blas_opt_info:
  blas_mkl_info:
    libraries mkl_rt not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  blis_info:
    libraries blis not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  openblas_info:
    libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_blas_info:
    libraries satlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_blas_info:
    libraries f77blas,cblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
  blas_info:
    libraries blas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
  blas_src_info:
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
    NOT AVAILABLE

  non-existing path in 'numpy\\distutils': 'site.cfg'
  F2PY Version 2
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  openblas_lapack_info:
    libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas,tatlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries tatlas,tatlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
    libraries satlas,satlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries satlas,satlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries ptf77blas,ptcblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
    libraries f77blas,cblas,atlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries f77blas,cblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  lapack_info:
    libraries lapack not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
  lapack_src_info:
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
    NOT AVAILABLE

  C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py:261: 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
  creating build
  creating build\src.win32-3.6
  creating build\src.win32-3.6\numpy
  creating build\src.win32-3.6\numpy\distutils
  building library "npymath" sources
  customize GnuFCompiler
  Could not locate executable g77
  Could not locate executable f77
  customize IntelVisualFCompiler
  Could not locate executable ifort
  Could not locate executable ifl
  customize AbsoftFCompiler
  Could not locate executable f90
  customize CompaqVisualFCompiler
  Could not locate executable DF
  customize IntelItaniumVisualFCompiler
  Could not locate executable efl
  customize Gnu95FCompiler
  Could not locate executable gfortran
  Could not locate executable f95
  customize G95FCompiler
  Could not locate executable g95
  customize IntelEM64VisualFCompiler
  customize IntelEM64TFCompiler
  Could not locate executable efort
  Could not locate executable efc
  don't know how to compile Fortran code on platform 'nt'
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -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 -IC:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\include /Tc_configtest.c /Fo_configtest.obj
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe /nologo /INCREMENTAL:NO /MANIFEST _configtest.obj /OUT:_configtest.exe /MANIFEST /MANIFEST /MANIFESTFILE:_configtest.exe.manifest
  mt.exe -nologo -manifest _configtest.exe.manifest -outputresource:_configtest.exe;1

  failure.
  removing: _configtest.c _configtest.obj
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py", line 392, in <module>
      setup_package()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py", line 384, in setup_package
      setup(**metadata)
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\core.py", line 169, in setup
      return old_setup(**new_attr)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\setuptools\__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\install.py", line 62, in run
      r = self.setuptools_run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\install.py", line 36, in setuptools_run
      return distutils_install.run(self)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\command\install.py", line 555, in run
      self.run_command('build')
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build.py", line 47, in run
      old_build.run(self)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 148, in run
      self.build_sources()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 159, in build_sources
      self.build_library_sources(*libname_info)
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 294, in build_library_sources
      sources = self.generate_sources(sources, (lib_name, build_info))
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 377, in generate_sources
      source = func(extension, build_dir)
    File "numpy\core\setup.py", line 674, in get_mathlib_info
      raise RuntimeError("Broken toolchain: cannot link a simple C program")
  RuntimeError: Broken toolchain: cannot link a simple C program
  ----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py'"'"'; file='"'"'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-record-gctpevwc\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay' --compile --install-headers 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay\include' Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-kbfw8co4\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output.

Comments (13)

  1. mattip

    The error comes from pandas needing numpy, but you couldn’t compile numpy: For some reason, it is running mt.exe without a path prefix.

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -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 -IC:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\include /Tc_configtest.c /Fo_configtest.obj
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe /nologo /INCREMENTAL:NO /MANIFEST _configtest.obj /OUT:_configtest.exe /MANIFEST /MANIFEST /MANIFESTFILE:_configtest.exe.manifest
    mt.exe -nologo -manifest _configtest.exe.manifest -outputresource:_configtest.exe;1
    
    failure.
    

    I think you might need to add “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN to your path (assuming mt.exe is there). Not sure why others are not getting this error too.

  2. Mehul Batra reporter

    ERROR: Command errored out with exit status 1:
    command: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\NEX16OU\AppData\Local\Temp\1\tmp5k22cw7e'
    cwd: C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy
    Complete output (233 lines):
    Processing numpy/random_bounded_integers.pxd.in
    Processing numpy/random\mtrand.pyx
    Processing numpy/random_bit_generator.pyx
    Processing numpy/random_bounded_integers.pyx.in
    Processing numpy/random_common.pyx
    Processing numpy/random_generator.pyx
    Processing numpy/random_mt19937.pyx
    Processing numpy/random_pcg64.pyx
    Processing numpy/random_philox.pyx
    Processing numpy/random_sfc64.pyx
    Cythonizing sources
    blas_opt_info:
    blas_mkl_info:
    customize MSVCCompiler
    libraries mkl_rt not found in ['C:\', 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs']
    NOT AVAILABLE

    blis_info:
      libraries blis not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    openblas_info:
      libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
    customize GnuFCompiler
    Could not locate executable g77
    Could not locate executable f77
    customize IntelVisualFCompiler
    Could not locate executable ifort
    Could not locate executable ifl
    customize AbsoftFCompiler
    Could not locate executable f90
    customize CompaqVisualFCompiler
    Could not locate executable DF
    customize IntelItaniumVisualFCompiler
    Could not locate executable efl
    customize Gnu95FCompiler
    Could not locate executable gfortran
    Could not locate executable f95
    customize G95FCompiler
    Could not locate executable g95
    customize IntelEM64VisualFCompiler
    customize IntelEM64TFCompiler
    Could not locate executable efort
    Could not locate executable efc
    customize PGroupFlangCompiler
    Could not locate executable flang
    don't know how to compile Fortran code on platform 'nt'
      NOT AVAILABLE
    
    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    atlas_3_10_blas_info:
      libraries satlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    atlas_blas_info:
      libraries f77blas,cblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    accelerate_info:
      NOT AVAILABLE
    
    blas_info:
      libraries blas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    blas_src_info:
      NOT AVAILABLE
    
      NOT AVAILABLE
    
    'svnversion' is not recognized as an internal or external command,
    operable program or batch file.
    non-existing path in 'numpy\\distutils': 'site.cfg'
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    openblas_lapack_info:
      libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    openblas_clapack_info:
      libraries openblas,lapack not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    flame_info:
      libraries flame not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\
      libraries tatlas,tatlas not found in C:\
      libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
      libraries tatlas,tatlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE
    
    atlas_3_10_info:
      libraries lapack_atlas not found in C:\
      libraries satlas,satlas not found in C:\
      libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
      libraries satlas,satlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE
    
    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\
      libraries ptf77blas,ptcblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
      libraries ptf77blas,ptcblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE
    
    atlas_info:
      libraries lapack_atlas not found in C:\
      libraries f77blas,cblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
      libraries f77blas,cblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE
    
    lapack_info:
      libraries lapack not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
      NOT AVAILABLE
    
    lapack_src_info:
      NOT AVAILABLE
    
      NOT AVAILABLE
    
    running dist_info
    running build_src
    build_src
    building py_modules sources
    creating build
    creating build\src.win32-3.6
    creating build\src.win32-3.6\numpy
    creating build\src.win32-3.6\numpy\distutils
    building library "npymath" sources
    Running from numpy source directory.
    setup.py:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      run_build = parse_setuppy_commands()
    C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\system_info.py:1896: UserWarning:
        Optimized (vendor) Blas libraries are not found.
        Falls back to netlib Blas library which has worse performance.
        A better performance should be easily gained by switching
        Blas library.
      if self._calc_info(blas):
    C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\system_info.py:1896: 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.
      if self._calc_info(blas):
    C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\system_info.py:1896: 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.
      if self._calc_info(blas):
    C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\system_info.py:1730: 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.
      return getattr(self, '_calc_info_{}'.format(name))()
    C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\system_info.py:1730: 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.
      return getattr(self, '_calc_info_{}'.format(name))()
    C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    Traceback (most recent call last):
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip\_vendor\pep517\_in_process.py", line 257, in <module>
        main()
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip\_vendor\pep517\_in_process.py", line 240, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip\_vendor\pep517\_in_process.py", line 110, in prepare_metadata_for_build_wheel
        return hook(metadata_directory, config_settings)
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-f2dq6xu9\overlay\site-packages\setuptools\build_meta.py", line 158, in prepare_metadata_for_build_wheel
        self.run_setup()
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-f2dq6xu9\overlay\site-packages\setuptools\build_meta.py", line 250, in run_setup
        self).run_setup(setup_script=setup_script)
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-f2dq6xu9\overlay\site-packages\setuptools\build_meta.py", line 143, in run_setup
        exec(compile(code, __file__, 'exec'), locals())
      File "setup.py", line 488, in <module>
        setup_package()
      File "setup.py", line 480, in setup_package
        setup(**metadata)
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\core.py", line 171, in setup
        return old_setup(**new_attr)
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-f2dq6xu9\overlay\site-packages\setuptools\__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-build-env-f2dq6xu9\overlay\site-packages\setuptools\command\dist_info.py", line 31, in run
        egg_info.run()
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\command\egg_info.py", line 26, in run
        self.run_command("build_src")
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\command\build_src.py", line 146, in run
        self.build_sources()
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\command\build_src.py", line 157, in build_sources
        self.build_library_sources(*libname_info)
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\command\build_src.py", line 290, in build_library_sources
        sources = self.generate_sources(sources, (lib_name, build_info))
      File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-ds1quddc\numpy\numpy\distutils\command\build_src.py", line 380, in generate_sources
        source = func(extension, build_dir)
      File "numpy\core\setup.py", line 661, in get_mathlib_info
        raise RuntimeError("Broken toolchain: cannot link a simple C program")
    RuntimeError: Broken toolchain: cannot link a simple C program
    ----------------------------------------
    

    ERROR: Command errored out with exit status 1: 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\pypy3.exe' 'C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\NEX16OU\AppData\Local\Temp\1\tmp5k22cw7e' Check the logs for full command output.

  3. Mehul Batra reporter

    i think i am still getting the same error and I am not able to see any mt.exe file but there is ml.exe file present

  4. mattip

    maybe try to upgrade setuptools: pypy3 -mpip install --upgrade setuptools before pypy3 -m pip install numpy

  5. Mehul Batra reporter

    Requirement already up-to-date: setuptools in c:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages (45.2.0)

  6. XinlongZ

    I find the mt.exe in the windows kits file, and add its path to the systemPath, but also don’t work

  7. Log in to comment