Can't pip install insightface==0.7.3

2.1k Views Asked by At

enter image description here error: Microsoft Visual C++ 14.0 or greater is required, but I have C++ 14.0 and Python installed download and install Microsoft Visual C++ Redistributable. error: subprocess-exited-with-error.

× Building wheel for insight face (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [215 lines of output] WARNING: pandoc not enabled...

2

There are 2 best solutions below

0
On
python --version

I need to install Visual C++ click here!

We also need to install onnx. Run the following command in the terminal:

pip install onnx
1
On

Check the Python version. If the version is higher than 10, install Python again, but with an older version, it is recommended to use the Linux operating system.