помощь в установке модулей

PS C:\Users\kirya> pip install fastecdsa
DEPRECATION: Loading egg at d:\python\lib\site-packages\setuptools-79.0.0-py3.13.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting fastecdsa
  Using cached fastecdsa-3.0.1.tar.gz (47 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: fastecdsa
  Building wheel for fastecdsa (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for fastecdsa (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [72 lines of output]
      C:\Users\kirya\AppData\Local\Temp\pip-build-env-7pn768bi\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
      !!

              ********************************************************************************
              Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

              By 2026-Feb-18, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        corresp(dist, value, root_dir)
      C:\Users\kirya\AppData\Local\Temp\pip-build-env-7pn768bi\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:

              License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        dist._finalize_license_expression()
      C:\Users\kirya\AppData\Local\Temp\pip-build-env-7pn768bi\overlay\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:

              License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\benchmark.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\curve.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\ecdsa.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\keys.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\point.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\typing.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copying fastecdsa\util.py -> build\lib.win-amd64-cpython-313\fastecdsa
      copyiйng fastecdsa\__init__.py -> build\lib.win-amd64-cpython-313\fastecdsa
      creating build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\asn1.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\der.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\pem.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\sec1.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\util.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      copying fastecdsa\encoding\__init__.py -> build\lib.win-amd64-cpython-313\fastecdsa\encoding
      running egg_info
      writing fastecdsa.egg-info\PKG-INFO
      writing dependency_links to fastecdsa.egg-info\dependency_links.txt
      writing entry points to fastecdsa.egg-info\entry_points.txt
      writing top-level names to fastecdsa.egg-info\top_level.txt
      reading manifest file 'fastecdsa.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'fastecdsa.egg-info\SOURCES.txt'
      copying fastecdsa\py.typed -> build\lib.win-amd64-cpython-313\fastecdsa
      running build_ext
      building 'fastecdsa.curvemath' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastecdsa
Failed to build fastecdsa
ERROR: Failed to build installable wheels for some pyproject.toml based projects (fastecdsa)

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

Автор решения: Pak Uula
  1. Библиотека fastecdsa использует зависимости, которые с высокой вероятностью на Windows не заработают.

  2. Оные зависимости написаны на языке Си, поэтому для их установки необходим компилятор Си. В MSWindows система сборки пакетов Python требует компилятор от Visual Studio, поэтому перед установкой fastecdsa вам нужно поставить Microsoft C++ Build Tools

    Размер инсталлятора под 2 Гб, занимает на диске более 6 Гб.

  3. Альтернатива - активировать в компьютере Windows Subsystem for Linux, установить современный дистрибутив (я бы ставил Ubuntu) и собирать такие штуки в Linux.

→ Ссылка