如何在Digital Ocean的Ubuntu VPS上安装dlib [英] How to install dlib on Ubuntu VPS on digital ocean
问题描述
我创建了具有以下规格的 ubuntu
vps:
I have created a ubuntu
vps which has below specs:
Linux ubuntu-sh5tb8912admin 4.15.0-66-generic#75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
我必须在其上运行 pthon flask Web应用
,为此,我需要安装 dlib
.我已经尝试了链接中提到的所有 whl
文件,但我越来越
I have to run pthon flask web app
on it and for it I need to install dlib
. I have tried all the whl
files mentioned in this link but all I am getting is
dlib-19.8.1-cp36-cp36m-win_amd64.whl在此平台上不受支持.
我只是使用 wget dlib-xxxx-xx.whl
下载它们,然后使用 pip3 install dlib-xxxx-xx.whl
安装,但这给了我上面的错误.我安装了 python 3.6.8
I simply download them using wget dlib-xxxx-xx.whl
and then install using pip3 install dlib-xxxx-xx.whl
but it gives me above error. I have a python 3.6.8
installed
任何人都可以帮助我如何安装dlib.
Can anyone please help how can I install dlib.?
推荐答案
如果这些轮子赢得了胜利,我想它们是Windows发行版,不适用于GNU/Linux.您是否尝试下载tar.gz文件之一,但这些文件应该是Linux的文件.
If the wheels have a win in their name I guess they are windows-releases not for GNU/Linux. Did you try downloading one of the tar.gz files those should be the ones for Linux.
这篇关于如何在Digital Ocean的Ubuntu VPS上安装dlib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!