sd-webui-roop icon indicating copy to clipboard operation
sd-webui-roop copied to clipboard

Can't pip install insightface==0.7.3, error: Microsoft Visual C++ 14.0 or greater is required, but I have C++ 14.0 and Python installed

Open afrofail opened this issue 1 year ago • 1 comments

I reviewed everyones ticket regarding this issue, it doesn't seem like everyone has been able to solve it. I installed and reinstalled Microsoft Visual Studio C++ and Python Development with Native Development tools multiple times, also installed Visual Extension Development. Still receive this error at the end when running "pip install insightface==0.7.3" in my Automatic1111 directory

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]"

Log

(venv) M:\stable-diffusion-webui\venv\Scripts>python -m pip install --force-reinstall insightface==0.7.3 Collecting insightface==0.7.3 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 Collecting numpy (from insightface==0.7.3) Using cached numpy-1.25.0-cp310-cp310-win_amd64.whl (15.0 MB) Collecting onnx (from insightface==0.7.3) Using cached onnx-1.14.0-cp310-cp310-win_amd64.whl (13.3 MB) Collecting tqdm (from insightface==0.7.3) Using cached tqdm-4.65.0-py3-none-any.whl (77 kB) Collecting requests (from insightface==0.7.3) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Collecting matplotlib (from insightface==0.7.3) Using cached matplotlib-3.7.1-cp310-cp310-win_amd64.whl (7.6 MB) Collecting Pillow (from insightface==0.7.3) Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB) Collecting scipy (from insightface==0.7.3) Using cached scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) Collecting scikit-learn (from insightface==0.7.3) Using cached scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB) Collecting scikit-image (from insightface==0.7.3) Using cached scikit_image-0.21.0-cp310-cp310-win_amd64.whl (22.8 MB) Collecting easydict (from insightface==0.7.3) Using cached easydict-1.10-py3-none-any.whl Collecting cython (from insightface==0.7.3) Using cached Cython-0.29.35-py2.py3-none-any.whl (988 kB) Collecting albumentations (from insightface==0.7.3) Using cached albumentations-1.3.1-py3-none-any.whl (125 kB) Collecting prettytable (from insightface==0.7.3) Using cached prettytable-3.8.0-py3-none-any.whl (27 kB) Collecting PyYAML (from albumentations->insightface==0.7.3) Using cached PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB) Collecting qudida>=0.0.4 (from albumentations->insightface==0.7.3) Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB) Collecting opencv-python-headless>=4.1.1 (from albumentations->insightface==0.7.3) Using cached opencv_python_headless-4.7.0.72-cp37-abi3-win_amd64.whl (38.1 MB) Collecting networkx>=2.8 (from scikit-image->insightface==0.7.3) Using cached networkx-3.1-py3-none-any.whl (2.1 MB) Collecting imageio>=2.27 (from scikit-image->insightface==0.7.3) Using cached imageio-2.31.1-py3-none-any.whl (313 kB) Collecting tifffile>=2022.8.12 (from scikit-image->insightface==0.7.3) Using cached tifffile-2023.4.12-py3-none-any.whl (219 kB) Collecting PyWavelets>=1.1.1 (from scikit-image->insightface==0.7.3) Using cached PyWavelets-1.4.1-cp310-cp310-win_amd64.whl (4.2 MB) Collecting packaging>=21 (from scikit-image->insightface==0.7.3) Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting lazy_loader>=0.2 (from scikit-image->insightface==0.7.3) Using cached lazy_loader-0.2-py3-none-any.whl (8.6 kB) Collecting contourpy>=1.0.1 (from matplotlib->insightface==0.7.3) Using cached contourpy-1.1.0-cp310-cp310-win_amd64.whl (470 kB) Collecting cycler>=0.10 (from matplotlib->insightface==0.7.3) Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting fonttools>=4.22.0 (from matplotlib->insightface==0.7.3) Using cached fonttools-4.40.0-cp310-cp310-win_amd64.whl (1.9 MB) Collecting kiwisolver>=1.0.1 (from matplotlib->insightface==0.7.3) Using cached kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) Collecting pyparsing>=2.3.1 (from matplotlib->insightface==0.7.3) Using cached pyparsing-3.1.0-py3-none-any.whl (102 kB) Collecting python-dateutil>=2.7 (from matplotlib->insightface==0.7.3) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting protobuf>=3.20.2 (from onnx->insightface==0.7.3) Using cached protobuf-4.23.3-cp310-abi3-win_amd64.whl (422 kB) Collecting typing-extensions>=3.6.2.1 (from onnx->insightface==0.7.3) Using cached typing_extensions-4.6.3-py3-none-any.whl (31 kB) Collecting wcwidth (from prettytable->insightface==0.7.3) Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting charset-normalizer<4,>=2 (from requests->insightface==0.7.3) Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) Collecting idna<4,>=2.5 (from requests->insightface==0.7.3) Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting urllib3<3,>=1.21.1 (from requests->insightface==0.7.3) Using cached urllib3-2.0.3-py3-none-any.whl (123 kB) Collecting certifi>=2017.4.17 (from requests->insightface==0.7.3) Using cached certifi-2023.5.7-py3-none-any.whl (156 kB) Collecting joblib>=1.1.1 (from scikit-learn->insightface==0.7.3) Using cached joblib-1.2.0-py3-none-any.whl (297 kB) Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface==0.7.3) Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting colorama (from tqdm->insightface==0.7.3) Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->insightface==0.7.3) Using cached six-1.16.0-py2.py3-none-any.whl (11 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\user\AppData\Local\Temp\pip-build-env-51oq4m_m\overlay\Lib\site-packages\setuptools\command\build_py.py:201: _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\user\AppData\Local\Temp\pip-build-env-51oq4m_m\overlay\Lib\site-packages\setuptools\command\build_py.py:201: _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\user\AppData\Local\Temp\pip-build-env-51oq4m_m\overlay\Lib\site-packages\setuptools\command\build_py.py:201: _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_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.h -> build\lib.win-amd64-cpython-310\insightface\thirdparty\face3d\mesh\cython
  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

afrofail avatar Jun 23 '23 12:06 afrofail

saMe here

HeartBytes avatar Jun 25 '23 00:06 HeartBytes

I've been using VS for a while, but got this error. Ended up I didn't have C++ and Python installed. Did that and it worked. I wonder if it's more than just those two. I also had installed Azure development, ASP.NET and web development, .NET desktop development and Universal Windows Platform development. You might try also install these or may be one at a time to see if they fix things.

spice3d avatar Jun 26 '23 03:06 spice3d

I've been using VS for a while, but got this error. Ended up I didn't have C++ and Python installed. Did that and it worked. I wonder if it's more than just those two. I also had installed Azure development, ASP.NET and web development, .NET desktop development and Universal Windows Platform development. You might try also install these or may be one at a time to see if they fix things.

Can you show on screenshot what need check?

asidsx avatar Jun 26 '23 04:06 asidsx

俺也一样 /(ㄒoㄒ)/~~

yl11023 avatar Jun 26 '23 08:06 yl11023

image image

Work for me

asidsx avatar Jun 26 '23 08:06 asidsx

Check this answer: https://github.com/s0md3v/sd-webui-roop/issues/103#issuecomment-1608399434

DmytroSokhach avatar Jun 26 '23 22:06 DmytroSokhach

Check this answer: #103 (comment)

Doesn't work for me unfortunately. I've been uninstalling and reinstalling these for 3 days now. Different versions of Python, different versions of MVC. I usually am able to figure it out but this is by far the most trouble I've ever had.

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]

afrofail avatar Jun 27 '23 03:06 afrofail

image image

Work for me

Arrowich avatar Aug 10 '23 20:08 Arrowich

Same here

torcelly avatar Aug 30 '23 09:08 torcelly

closed but no solutions ?

AIrtistry avatar Sep 11 '23 04:09 AIrtistry

could anyone fix this? I tried so many things but nothing seems to work :(

PuckStar avatar Sep 25 '23 16:09 PuckStar

Had the same issue with FaceSwapLab and I solved it! Manual for Window, but algoritm is similar for mac/linux

  1. Install it globally using file: pip install insightface-0.7.3-cp310-cp310-win_amd64.whl (3.10 https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp310-cp310-win_amd64.whl, 3.11 https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl)

  2. Find global location of package: pip show insightface

  3. copy insightface folders to SD insightface and insightface-0.7.3.dist-info

From: c:\users\<username>\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages

To: C:\stable-diffusion-webui\venv\Lib\site-packages

  1. Now you can run SD again, and get another missing package exception (in my case qudida)

  2. Next you need to install it, but using SD local pip:

C:\stable-diffusion-webui\venv\Scripts\pip.exe install qudida -U And it works for me.

I also copied some missing deps from global folder. Good luck!

ifonetwork avatar Oct 05 '23 22:10 ifonetwork

having the same issue. also after installing this i get errors such as:

pip install insightface-0.7.3-cp310-cp310-win_amd64.whl ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.

on windows 11, when running as venv environment

bigc90210 avatar Dec 06 '23 01:12 bigc90210

I downloaded the above .whl file to C:\Stable Diffusion\ComfyUI_windows_portable\python_embeded. (Replace with your corrected venv folder path).

From a command prompt in the above folder I then ran: python -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl

This solved it for me in one step, no need to copy files from the system install of Python.

tony722 avatar Dec 07 '23 20:12 tony722

Can you guys actually listen and stop repeatedly closing this issue?

i am also having this issue. Installed Visual C++, tried the manual .whl installtion fix, I get this: ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.

I am on windows 10

redactedaccount avatar Jan 30 '24 09:01 redactedaccount

在window11的系统,安装insightface==0.7.3,我也出现了这个问题,通过微软的那个工具,下载安装这个的默认设置,然后重启电脑,在通过pip install insightface==0.7.3就成功了 企业微信截图_17097162135408

w16645395520 avatar Mar 06 '24 09:03 w16645395520