提交 8c39af96 编写于 作者: A Adam Geitgey

Python 2 compatibility fix

上级 db60d96f
......@@ -6,9 +6,8 @@ import numpy as np
try:
import face_recognition_models
except ModuleNotFoundError:
print("Please install `face_recognition_models` with this command before using `face_recognition`:")
print()
except Exception:
print("Please install `face_recognition_models` with this command before using `face_recognition`:\n")
print("pip install git+https://github.com/ageitgey/face_recognition_models")
quit()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册