Не могу установить numpy на pypy

Для ускорения одного скрипта на python решил попробовать pypy. В скрипте используется numpy и matplotlib которые не получается установить, выдает эту ошибку:

версия pypy 3.9, pip последней версии, MSVC установлен

Building wheels for collected packages: numpy
  Building wheel for numpy (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for numpy (pyproject.toml) did not run successfully.
  Γöé exit code: 1
  Γò░ΓöÇ> [207 lines of output]
      Processing numpy/random\_bounded_integers.pxd.in
      Processing numpy/random\bit_generator.pyx
      Processing numpy/random\mtrand.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
      INFO: blas_opt_info:
      INFO: blas_armpl_info:
      INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      INFO: customize MSVCCompiler
      INFO:   libraries armpl_lp64_mp not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: blas_mkl_info:
      INFO:   libraries mkl_rt not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: blis_info:
      INFO:   libraries blis not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: openblas_info:
      INFO:   libraries openblas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'  
      INFO: customize GnuFCompiler
      WARN: Could not locate executable g77
      WARN: Could not locate executable f77
      INFO: customize IntelVisualFCompiler
      WARN: Could not locate executable ifort
      WARN: Could not locate executable ifl
      INFO: customize AbsoftFCompiler
      WARN: Could not locate executable f90
      INFO: customize CompaqVisualFCompiler
      WARN: Could not locate executable DF
      INFO: customize IntelItaniumVisualFCompiler
      WARN: Could not locate executable efl
      INFO: customize Gnu95FCompiler
      WARN: Could not locate executable gfortran
      WARN: Could not locate executable f95
      INFO: customize G95FCompiler
      WARN: Could not locate executable g95
      INFO: customize IntelEM64VisualFCompiler
      INFO: customize IntelEM64TFCompiler
      WARN: Could not locate executable efort
      WARN: Could not locate executable efc
      INFO: customize PGroupFlangCompiler
      WARN: Could not locate executable flang
      WARN: don't know how to compile Fortran code on platform 'nt'
      INFO:   NOT AVAILABLE
      INFO:
      INFO: accelerate_info:
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_blas_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries tatlas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_blas_info:
      INFO:   libraries satlas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_blas_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_blas_info:
      INFO:   libraries f77blas,cblas,atlas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: blas_info:
      INFO:   libraries blas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: blas_src_info:
      INFO:   NOT AVAILABLE
      INFO:
      INFO:   NOT AVAILABLE
      INFO:
      non-existing path in 'numpy\\distutils': 'site.cfg'
      INFO: lapack_opt_info:
      INFO: lapack_armpl_info:
      INFO:   libraries armpl_lp64_mp not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: lapack_mkl_info:
      INFO:   libraries mkl_rt not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: openblas_lapack_info:
      INFO:   libraries openblas not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: openblas_clapack_info:
      INFO:   libraries openblas,lapack not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: flame_info:
      INFO:   libraries flame not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries tatlas,tatlas not found in C:\Users\billy\OneDrive\venv1\lib
      INFO:   libraries tatlas,tatlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_info:
      INFO:   libraries satlas,satlas not found in C:\Users\billy\OneDrive\venv1\lib
      INFO:   libraries satlas,satlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries ptf77blas,ptcblas,atlas not found in C:\Users\billy\OneDrive\venv1\lib
      INFO:   libraries ptf77blas,ptcblas,atlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_info:
      INFO:   libraries f77blas,cblas,atlas not found in C:\Users\billy\OneDrive\venv1\lib
      INFO:   libraries f77blas,cblas,atlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: lapack_info:
      INFO:   libraries lapack not found in ['C:\\Users\\billy\\OneDrive\\venv1\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: lapack_src_info:
      INFO:   NOT AVAILABLE
      INFO:
      INFO:   NOT AVAILABLE
      INFO:
      INFO: numpy_linalg_lapack_lite:
      INFO:   FOUND:
      INFO:     language = c
      INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
      INFO:
      running bdist_wheel
      running build
      running config_cc
      INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
      running config_fc
      INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
      running build_src
      INFO: build_src
      INFO: building py_modules sources
      creating build
      creating build\src.win-amd64-3.9
      creating build\src.win-amd64-3.9\numpy
      creating build\src.win-amd64-3.9\numpy\distutils
      INFO: building library "npymath" sources
      Running from numpy source directory.
      setup.py:67: DeprecationWarning:
     
        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html
     
     
        import numpy.distutils.command.sdist
      C:\Users\billy\AppData\Local\Temp\pip-install-bcg3knim\numpy_dc5aeccb028b435e868663325cf2885a\numpy\distutils\system_info.py:2077: 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\billy\AppData\Local\Temp\pip-install-bcg3knim\numpy_dc5aeccb028b435e868663325cf2885a\numpy\distutils\system_info.py:2077: 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\billy\AppData\Local\Temp\pip-install-bcg3knim\numpy_dc5aeccb028b435e868663325cf2885a\numpy\distutils\system_info.py:2077: 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\billy\AppData\Local\Temp\pip-install-bcg3knim\numpy_dc5aeccb028b435e868663325cf2885a\numpy\distutils\system_info.py:1902: 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\billy\AppData\Local\Temp\pip-install-bcg3knim\numpy_dc5aeccb028b435e868663325cf2885a\numpy\distutils\system_info.py:1902: 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))()
      Warning: attempted relative import with no known parent package
      C:\Users\billy\AppData\Local\Temp\pip-build-env-qa16kprq\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distrib
ution option: 'define_macros'
        warnings.warn(msg)
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-bu
ild-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects


Ответы (0 шт):