deepinsight / deepinsight/insightface
Error Installing insightface 0.7.3: Missing setuptools Dependency
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to install insightface==0.7.3 on my ARM64-based system using a Conda virtual environment. However, I am encountering an error related to setuptools while trying to install the package. Below is the error message I received:
```
(face_env) [root@uos offline_pkgs]# pip install --no-index insightface-0.7.3.tar.gz
Processing ./insightface-0.7.3.tar.gz
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
ERROR: Could not find a version that satisfies the requirement setuptools (from versions: none)
ERROR: No matching distribution found for setuptools
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
```
**Environment Details:**
1. OS: ARM64-based system
2. Python Version: 3.10
3. setuptools Version: 71.0.0
4. pip Version: 23.3.1
5. Conda Version: Installed through Conda virtual environment
**Steps to Reproduce:**
Set up a Conda virtual environment with Python 3.10.
Install setuptools version 71.0.0 via pip.
Attempt to install insightface==0.7.3 from the .tar.gz file with the following command:
pip install --no-index insightface-0.7.3.tar.gz
**Expected Behavior:**
The installation should proceed without errors, with insightface and its dependencies being successfully installed.
**Actual Behavior:**
The installation fails with the error message about missing setuptools even though it is installed (version 71.0.0).
**Additional Information:**
The issue occurs on an ARM64-based operating system.
I have verified that setuptools is correctly installed, and I am using the correct versions of pip and Python.
I tried both online and offline installation methods, but the issue persists.
**Request:**
Could you please help identify the cause of this error and provide guidance on how to resolve it? Is there a specific version of setuptools required for insightface 0.7.3?
Thank you!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.