我正在尝试在 Ubuntu 上安装 face_recognition。

我一直在运行这个循环,它永远持续下去。请帮忙。

pip install face_recognition
Collecting face_recognition
  Using cached https://files.pythonhosted.org/packages/3f/ed/ad9a28042f373d4633fc8b49109b623597d6f193d3bbbef7780a5ee8eef2/face_recognition-1.2.3-py2.py3-none-any.whl
Collecting Pillow (from face_recognition)
  Using cached https://files.pythonhosted.org/packages/c1/e6/ce127fa0ac17775bc7887c432ffe945c49ae141f01b477b7cd5e63b16bb5/Pillow-6.0.0-cp37-cp37m-manylinux1_x86_64.whl
Requirement already satisfied: numpy in ./.virtualenvs/cv/lib/python3.7/site-packages (from face_recognition) (1.16.3)
Collecting Click>=6.0 (from face_recognition)
  Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting face-recognition-models>=0.3.0 (from face_recognition)
Collecting dlib>=19.7 (from face_recognition)
  Using cached https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) .

最佳答案

添加 -vvv 以查看安装是否正在进行。

我也在那个循环中,花了很长时间但它完成了。

pip install dlib -vvv

关于python - dlib 的 OpenCV Python 构建轮(setup.py),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56051515/

10-13 03:10