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.

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

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

4. 输入cmd

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

6.等待安装即可

作者:我就要七点起床

物联沃分享整理
物联沃-IOTWORD物联网 » InsightFace手动安装指南:解决pip安装报错问题

发表回复