seetaFace6Python icon indicating copy to clipboard operation
seetaFace6Python copied to clipboard

Unsupported platform:linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-redhat-7.6-maipo

Open yisampi opened this issue 4 years ago • 4 comments

Unsupported platform:linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-redhat-7.6-maipo

yisampi avatar Sep 03 '20 03:09 yisampi

不支持Red Hat Enterprise Linux Server release 7.6 (Maipo)吗?

yisampi avatar Sep 03 '20 03:09 yisampi

vi seetaface/api.py

elif "redhat" in platform_name: LIB_PATH = os.path.join(API_DIR,"lib","centos") dll = CDLL(os.path.join(LIB_PATH, "libSeetaFaceAPI.so"))

yisampi avatar Oct 12 '20 05:10 yisampi

@yisampi @tensorflower 我也遇到这个问题, 运行报错Unsupported platform:linux-3.10.0-1160.25.1.el7.x86_64-x86_64-with-glibc2.10 我是centos系统

yangjian1218 avatar Aug 19 '21 13:08 yangjian1218

@yisampi 因为platform并不能显示centos跟ubuntu信息,所以那个判断是错的. 你直接把那个判断去掉, 直接加载

yangjian1218 avatar Oct 11 '21 01:10 yangjian1218