insightface pip安装报错如何手动安装

pipinstall安装遇见此问题如何解决:

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

方案:

1. 下载insightface:Assets/Insightface at main · Gourieff/Assets · GitHub(根据python版本选择)我为py3.9.

insightface pip安装报错如何手动安装_第1张图片

2.复制文件下载好后的位置路径

insightface pip安装报错如何手动安装_第2张图片

3.找到给与安装insightface包的环境中的python.exe的文件夹位置

insightface pip安装报错如何手动安装_第3张图片

4. 输入cmd

insightface pip安装报错如何手动安装_第4张图片

5.在此处输入:.\python.exe -m pip install(空格)"你刚才复制的地址"(空格)onnxruntime

insightface pip安装报错如何手动安装_第5张图片

6.等待安装即可

你可能感兴趣的:(pip,python)