How to install dlib on Ubuntu VPS

November 23, 2019 114 views
Ubuntu 18.04

Hi

I have created python flask web app on my Ubuntu VPS. I have to install dlib on it. I have tried installing all the whl files of dlib but it keeps on giving error “not supported on this platform”. How can I install dlib for python. Please help. Thanks

1 Answer

Hi,

I tested this with my AWS account, and it works fine there. Just sign up for your 1 year free trial, and type “sudo yum install cmake gcc gcc-c++ python2-pip” followed by “pip install dlib”.

Job done.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!