1.安装anacoda
2.根据下方conda环境配置创建并激活虚拟环境
3.克隆insightface运行
conda环境配置
name: face-env
channels:
- defaults
dependencies:
- bzip2=1.0.8=h2bbff1b_6
- ca-certificates=2025.7.15=haa95532_0
- expat=2.7.1=h8ddb27b_0
- libffi=3.4.4=hd77b12b_1
- openssl=3.0.17=h35632f6_0
- pip=25.1=pyhc872135_2
- python=3.9.23=h716150d_0
- setuptools=78.1.1=py39haa95532_0
- sqlite=3.50.2=hda9a48d_1
- tk=8.6.15=hf199647_0
- tzdata=2025b=h04d1e81_0
- ucrt=10.0.22621.0=haa95532_0
- vc=14.3=h2df5915_10
- vc14_runtime=14.44.35208=h4927774_10
- vs2015_runtime=14.44.35208=ha6b5a95_10
- wheel=0.45.1=py39haa95532_0
- xz=5.6.4=h4754444_1
- zlib=1.2.13=h8cc25b3_1
- pip:
- albucore==0.0.24
- albumentations==2.0.8
- annotated-types==0.7.0
- certifi==2025.8.3
- charset-normalizer==3.4.3
- cmake==4.1.0
- colorama==0.4.6
- coloredlogs==15.0.1
- contourpy==1.3.0
- cycler==0.12.1
- cython==3.1.3
- easydict==1.13
- eval-type-backport==0.2.2
- flatbuffers==25.2.10
- fonttools==4.59.1
- humanfriendly==10.0
- idna==3.10
- imageio==2.37.0
- importlib-resources==6.5.2
- insightface==0.7.3
- joblib==1.5.1
- kiwisolver==1.4.7
- lazy-loader==0.4
- matplotlib==3.9.4
- mpmath==1.3.0
- networkx==3.2.1
- numpy==1.23.0
- onnx==1.18.0
- onnxruntime-gpu==1.19.2
- opencv-python-headless==4.12.0.88
- packaging==25.0
- pillow==11.3.0
- prettytable==3.16.0
- protobuf==6.32.0
- pydantic==2.11.7
- pydantic-core==2.33.2
- pyparsing==3.2.3
- pyreadline3==3.5.4
- python-dateutil==2.9.0.post0
- pyyaml==6.0.2
- requests==2.32.5
- scikit-image==0.24.0
- scikit-learn==1.6.1
- scipy==1.13.1
- simsimd==6.5.1
- six==1.17.0
- stringzilla==3.12.6
- sympy==1.14.0
- threadpoolctl==3.6.0
- tifffile==2024.8.30
- tqdm==4.67.1
- typing-extensions==4.14.1
- typing-inspection==0.4.1
- urllib3==2.5.0
- wcwidth==0.2.13
- zipp==3.23.0
prefix: E:\anaconda\envs\face-env