mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
Add build system requirements for correct installation
This commit is contained in:
@@ -8,19 +8,6 @@ The code of InsightFace Python Library is released under the MIT License. There
|
||||
|
||||
## Install
|
||||
|
||||
### Windows 10
|
||||
|
||||
Before installing the package via pip, first install the following packages
|
||||
|
||||
```
|
||||
pip install -U Cython cmake numpy
|
||||
```
|
||||
and then finally use
|
||||
|
||||
```
|
||||
pip install -U insightface
|
||||
```
|
||||
|
||||
### Install Inference Backend
|
||||
|
||||
For ``insightface<=0.1.5``, we use MXNet as inference backend.
|
||||
|
||||
@@ -11,7 +11,7 @@ except ImportError:
|
||||
"Unable to import dependency onnxruntime. "
|
||||
)
|
||||
|
||||
__version__ = '0.6.2'
|
||||
__version__ = '0.6.3'
|
||||
|
||||
from . import model_zoo
|
||||
from . import utils
|
||||
|
||||
3
python-package/pyproject.toml
Normal file
3
python-package/pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "numpy", "cython"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
Reference in New Issue
Block a user