Open VectorZhao opened 4 months ago
使用源码版是可以在 arm 上运行的。Apple SIlicon 的 Macos 手动直接安装依赖即可,对于 Ubuntu 有以下注意事项:
主要是安装编译 h5py 依赖中:
ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects
需要安装 wheel pip install wheel
error: pkg-config probably not installed: FileNotFoundError(2, 'No such file or directory')
系统需要 pkg-config apt install pkg-config
Loading library to get build settings and version: libhdf5.so
error: Unable to load dependency HDF5, make sure HDF5 is installed properly
安装相关依赖 sudo apt install libhdf5-dev python3-h5py
以下为 Oracle ARM 运行截图:
以下为 MacOS 运行截图:
谢谢,昨晚已成功编译。
https://github.com/serengil/deepface/issues/19