C0untFloyd / roop-unleashed

Evolved Fork of roop with Web Server and lots of additions
GNU Affero General Public License v3.0
2.07k stars 477 forks source link

Error installing insightface #202

Closed hectoruelo closed 1 year ago

hectoruelo commented 1 year ago

Details Windows 11 , NVIDIA Geforze MX150 roop version 2.7.0 Python 3.10.4

Have this error installing insightface

C:\roop\roop-unleashed\roop-unleashed>python run.py Traceback (most recent call last): File "C:\roop\roop-unleashed\roop-unleashed\run.py", line 3, in from roop import core File "C:\roop\roop-unleashed\roop-unleashed\roop\core.py", line 25, in import roop.ui as ui File "C:\roop\roop-unleashed\roop-unleashed\roop\ui.py", line 11, in from roop.face_util import extract_face_images File "C:\roop\roop-unleashed\roop-unleashed\roop\face_util.py", line 3, in import insightface ModuleNotFoundError: No module named 'insightface'

C:\roop\roop-unleashed\roop-unleashed>pip install insightface Collecting insightface Using cached insightface-0.7.3.tar.gz (439 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: numpy in c:\python310\lib\site-packages (from insightface) (1.25.2) Collecting onnx (from insightface) Obtaining dependency information for onnx from https://files.pythonhosted.org/packages/00/36/e7a7e7a85564e7d409e4e8addfa11d41015d2190bfff30064771e7c21ca0/onnx-1.14.1-cp310-cp310-win_amd64.whl.metadata Using cached onnx-1.14.1-cp310-cp310-win_amd64.whl.metadata (15 kB) Requirement already satisfied: tqdm in c:\python310\lib\site-packages (from insightface) (4.66.1) Requirement already satisfied: requests in c:\python310\lib\site-packages (from insightface) (2.31.0) Requirement already satisfied: matplotlib in c:\python310\lib\site-packages (from insightface) (3.7.2) Requirement already satisfied: Pillow in c:\python310\lib\site-packages (from insightface) (10.0.0) Requirement already satisfied: scipy in c:\python310\lib\site-packages (from insightface) (1.11.2) Collecting scikit-learn (from insightface) Obtaining dependency information for scikit-learn from https://files.pythonhosted.org/packages/96/cf/a714a655266229b51eb2bda117f15275f12457887f165f3c1cc58ab502f1/scikit_learn-1.3.0-cp310-cp310-win_amd64.whl.metadata Using cached scikit_learn-1.3.0-cp310-cp310-win_amd64.whl.metadata (11 kB) Collecting scikit-image (from insightface) Obtaining dependency information for scikit-image from https://files.pythonhosted.org/packages/f3/93/65601f7577d6fd49ec23bf8fb58c04d8170b06a1544452ae2ea9f59bf11f/scikit_image-0.21.0-cp310-cp310-win_amd64.whl.metadata Using cached scikit_image-0.21.0-cp310-cp310-win_amd64.whl.metadata (14 kB) Collecting easydict (from insightface) Using cached easydict-1.10-py3-none-any.whl Collecting cython (from insightface) Obtaining dependency information for cython from https://files.pythonhosted.org/packages/db/3e/8cf60af86446b129e79adee5d9131ec7eb043297e20c04bc31670331325c/Cython-3.0.2-cp310-cp310-win_amd64.whl.metadata Using cached Cython-3.0.2-cp310-cp310-win_amd64.whl.metadata (3.2 kB) Collecting albumentations (from insightface) Obtaining dependency information for albumentations from https://files.pythonhosted.org/packages/9b/f6/c486cedb4f75147232f32ec4c97026714cfef7c7e247a1f0427bc5489f66/albumentations-1.3.1-py3-none-any.whl.metadata Using cached albumentations-1.3.1-py3-none-any.whl.metadata (34 kB) Collecting prettytable (from insightface) Obtaining dependency information for prettytable from https://files.pythonhosted.org/packages/25/1e/4c284713b092ec384fad4399452f43f6446ad9aabc9c0b3c3c0920cc53b6/prettytable-3.8.0-py3-none-any.whl.metadata Using cached prettytable-3.8.0-py3-none-any.whl.metadata (26 kB) Requirement already satisfied: PyYAML in c:\python310\lib\site-packages (from albumentations->insightface) (6.0.1) Collecting qudida>=0.0.4 (from albumentations->insightface) Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB) Collecting opencv-python-headless>=4.1.1 (from albumentations->insightface) Obtaining dependency information for opencv-python-headless>=4.1.1 from https://files.pythonhosted.org/packages/70/78/7a13730745684584db53e8aa3c3bd84beef2dcb32bebf627bda0d6df461e/opencv_python_headless-4.8.0.76-cp37-abi3-win_amd64.whl.metadata Using cached opencv_python_headless-4.8.0.76-cp37-abi3-win_amd64.whl.metadata (20 kB) Requirement already satisfied: networkx>=2.8 in c:\python310\lib\site-packages (from scikit-image->insightface) (3.1) Collecting imageio>=2.27 (from scikit-image->insightface) Obtaining dependency information for imageio>=2.27 from https://files.pythonhosted.org/packages/eb/21/662994d78d8623055f8ffa91838e28f04b2a34bd5d8d6dbc6c7573285ed6/imageio-2.31.3-py3-none-any.whl.metadata Using cached imageio-2.31.3-py3-none-any.whl.metadata (4.6 kB) Collecting tifffile>=2022.8.12 (from scikit-image->insightface) Obtaining dependency information for tifffile>=2022.8.12 from https://files.pythonhosted.org/packages/12/3e/89513f44a10c625121b7d5bc54390d7ac7f2c92a19755c052888febf9730/tifffile-2023.8.30-py3-none-any.whl.metadata Using cached tifffile-2023.8.30-py3-none-any.whl.metadata (30 kB) Collecting PyWavelets>=1.1.1 (from scikit-image->insightface) Using cached PyWavelets-1.4.1-cp310-cp310-win_amd64.whl (4.2 MB) Requirement already satisfied: packaging>=21 in c:\python310\lib\site-packages (from scikit-image->insightface) (23.1) Collecting lazy_loader>=0.2 (from scikit-image->insightface) Obtaining dependency information for lazy_loader>=0.2 from https://files.pythonhosted.org/packages/a1/c3/65b3814e155836acacf720e5be3b5757130346670ac454fee29d3eda1381/lazy_loader-0.3-py3-none-any.whl.metadata Using cached lazy_loader-0.3-py3-none-any.whl.metadata (4.3 kB) Requirement already satisfied: contourpy>=1.0.1 in c:\python310\lib\site-packages (from matplotlib->insightface) (1.1.0) Requirement already satisfied: cycler>=0.10 in c:\python310\lib\site-packages (from matplotlib->insightface) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in c:\python310\lib\site-packages (from matplotlib->insightface) (4.42.1) Requirement already satisfied: kiwisolver>=1.0.1 in c:\python310\lib\site-packages (from matplotlib->insightface) (1.4.5) Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\python310\lib\site-packages (from matplotlib->insightface) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in c:\python310\lib\site-packages (from matplotlib->insightface) (2.8.2) Requirement already satisfied: protobuf>=3.20.2 in c:\python310\lib\site-packages (from onnx->insightface) (4.24.3) Requirement already satisfied: typing-extensions>=3.6.2.1 in c:\python310\lib\site-packages (from onnx->insightface) (4.7.1) Collecting wcwidth (from prettytable->insightface) Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Requirement already satisfied: charset-normalizer<4,>=2 in c:\python310\lib\site-packages (from requests->insightface) (3.2.0) Requirement already satisfied: idna<4,>=2.5 in c:\python310\lib\site-packages (from requests->insightface) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\python310\lib\site-packages (from requests->insightface) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\python310\lib\site-packages (from requests->insightface) (2023.7.22) Collecting joblib>=1.1.1 (from scikit-learn->insightface) Obtaining dependency information for joblib>=1.1.1 from https://files.pythonhosted.org/packages/10/40/d551139c85db202f1f384ba8bcf96aca2f329440a844f924c8a0040b6d02/joblib-1.3.2-py3-none-any.whl.metadata Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB) Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface) Obtaining dependency information for threadpoolctl>=2.0.0 from https://files.pythonhosted.org/packages/81/12/fd4dea011af9d69e1cad05c75f3f7202cdcbeac9b712eea58ca779a72865/threadpoolctl-3.2.0-py3-none-any.whl.metadata Using cached threadpoolctl-3.2.0-py3-none-any.whl.metadata (10.0 kB) Requirement already satisfied: colorama in c:\python310\lib\site-packages (from tqdm->insightface) (0.4.6) Requirement already satisfied: six>=1.5 in c:\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface) (1.16.0) Using cached albumentations-1.3.1-py3-none-any.whl (125 kB) Using cached scikit_image-0.21.0-cp310-cp310-win_amd64.whl (22.8 MB) Using cached Cython-3.0.2-cp310-cp310-win_amd64.whl (2.8 MB) Using cached onnx-1.14.1-cp310-cp310-win_amd64.whl (13.3 MB) Using cached prettytable-3.8.0-py3-none-any.whl (27 kB) Using cached scikit_learn-1.3.0-cp310-cp310-win_amd64.whl (9.2 MB) Using cached imageio-2.31.3-py3-none-any.whl (313 kB) Using cached joblib-1.3.2-py3-none-any.whl (302 kB) Using cached lazy_loader-0.3-py3-none-any.whl (9.1 kB) Using cached opencv_python_headless-4.8.0.76-cp37-abi3-win_amd64.whl (38.0 MB) Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB) Using cached tifffile-2023.8.30-py3-none-any.whl (221 kB) Building wheels for collected packages: insightface Building wheel for insightface (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for insightface (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [214 lines of output] WARNING: pandoc not enabled running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\insightface copying insightface__init.py -> build\lib.win-amd64-cpython-310\insightface creating build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\common.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\face_analysis.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app\mask_renderer.py -> build\lib.win-amd64-cpython-310\insightface\app copying insightface\app__init.py -> build\lib.win-amd64-cpython-310\insightface\app creating build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\insightface_cli.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\model_download.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands\rec_add_mask_param.py -> build\lib.win-amd64-cpython-310\insightface\commands copying insightface\commands__init.py -> build\lib.win-amd64-cpython-310\insightface\commands creating build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\image.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\pickle_object.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data\rec_builder.py -> build\lib.win-amd64-cpython-310\insightface\data copying insightface\data__init__.py -> build\lib.win-amd64-cpython-310\insightface\data creating build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\arcface_onnx.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\attribute.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\inswapper.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\landmark.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\model_store.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\model_zoo.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\retinaface.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\scrfd.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo copying insightface\model_zoo\init__.py -> build\lib.win-amd64-cpython-310\insightface\model_zoo creating build\lib.win-amd64-cpython-310\insightface\thirdparty copying insightface\thirdparty\init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty creating build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\constant.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\download.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\face_align.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\filesystem.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\storage.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\transform.py -> build\lib.win-amd64-cpython-310\insightface\utils copying insightface\utils\init.py -> build\lib.win-amd64-cpython-310\insightface\utils creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d copying insightface\thirdparty\face3d\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh copying insightface\thirdparty\face3d\mesh\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\io.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\light.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\render.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\transform.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\vis.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy copying insightface\thirdparty\face3d\mesh_numpy\init.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh_numpy creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\fit.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\load.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\morphabel_model.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model copying insightface\thirdparty\face3d\morphable_model\init__.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\morphable_model running egg_info writing insightface.egg-info\PKG-INFO writing dependency_links to insightface.egg-info\dependency_links.txt writing entry points to insightface.egg-info\entry_points.txt writing requirements to insightface.egg-info\requires.txt writing top-level names to insightface.egg-info\top_level.txt reading manifest file 'insightface.egg-info\SOURCES.txt' writing manifest file 'insightface.egg-info\SOURCES.txt' C:\Users\hecto\AppData\Local\Temp\pip-build-env-p5az_omd\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the packages configuration. !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.thirdparty.face3d.mesh.cython' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.thirdparty.face3d.mesh.cython' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.thirdparty.face3d.mesh.cython' to be distributed and are
          already explicitly excluding 'insightface.thirdparty.face3d.mesh.cython' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  C:\Users\hecto\AppData\Local\Temp\pip-build-env-p5az_omd\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.data.images' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.images' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.images' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.images' to be distributed and are
          already explicitly excluding 'insightface.data.images' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  C:\Users\hecto\AppData\Local\Temp\pip-build-env-p5az_omd\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'insightface.data.objects' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'insightface.data.objects' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'insightface.data.objects' to be distributed and are
          already explicitly excluding 'insightface.data.objects' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  creating build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core.h -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.cpp -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  creating build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\Tom_Hanks_54745.png -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_black.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_blue.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_green.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\mask_white.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  copying insightface\data\images\t1.jpg -> build\lib.win-amd64-cpython-310\insightface\data\images
  creating build\lib.win-amd64-cpython-310\insightface\data\objects
  copying insightface\data\objects\meanshape_68.pkl -> build\lib.win-amd64-cpython-310\insightface\data\objects
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.c -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\mesh_core_cython.pyx -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  copying insightface\thirdparty\face3d\mesh\cython\setup.py -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  running build_ext
  building 'insightface.thirdparty.face3d.mesh.cython.mesh_core_cython' 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 insightface Failed to build insightface ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects

hectoruelo commented 1 year ago

Solved:

https://visualstudio.microsoft.com/visual-cpp-build-tools/)

Choose Desktop development with C++

And then select the following individual components:

Windows 11 SDK C++ x64/x86 build tools