dlib未在pythonanywhere virtualenv中安装 [英] dlib is not installing in pythonanywhere virtualenv

查看:88
本文介绍了dlib未在pythonanywhere virtualenv中安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用"face_recognition"库识别图像中的人脸,要使用它,我们必须安装dlib,但是在pythonanywhere virtualenv控制台中的pythonanywhere中安装dlib时会抛出一些错误以下是我在安装dlib时遇到的错误

I am trying to recognize faces in an image using "face_recognition" library,to use it we have to install dlib but when installing dlib in pythonanywhere virtualenv console it is throwing some errors below is the error I got during installation of dlib

(env) 16:09 ~/dlib (master)$ python setup.py install --yes 
USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA                                                                     
running install
running bdist_egg
running egg_info
creating dlib.egg-info
writing dlib.egg-info/PKG-INFO
writing top-level names to dlib.egg-info/top_level.txt
writing dependency_links to dlib.egg-info/dependency_links.txt
writing manifest file 'dlib.egg-info/SOURCES.txt'
package init file 'dlib/__init__.py' not found (or not a regular file)
reading manifest file 'dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
error: [Errno 38] Function not implemented

推荐答案

当前版本的 dlib 似乎存在一些奇怪的问题,这阻止了它在PythonAnywhere上的安装.版本19.3.1似乎可以正常工作:

It looks like there's some strange problem with the current version of dlib that's stopping it from installing on PythonAnywhere. Version 19.3.1 seems to work:

pip2.7 install --user dlib==19.3.1

这篇关于dlib未在pythonanywhere virtualenv中安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆