none
Unable to install dlib python library for django webapp RRS feed

  • Question

  • While pushing the code through local git, installation is failing with reason CMake must be installed to build the following extensions: dlib.

    How to enable dlib in webapp when using code for deployment? Should i use any docker images for this purpose?

    Tuesday, August 13, 2019 6:57 PM

All replies

  • Hi,

    Thanks for raising the issue.

    Which docker image are you using? If dlib or any other library is missing, you might be able to install it using a Startup script.

    Wednesday, August 14, 2019 11:07 AM
    Moderator
  • I couldn't create a docker image as my system contains windows 10 home which it seems is not supported.

    My requirement file contains below libraries for python3.6

    Django==2.2.3
    django-appconf==1.0.3
    djangorestframework==3.9.4
    Pillow==6.1.0
    pytz==2019.2
    six==1.12.0
    sqlparse==0.3.0
    scikit-learn==0.21.3
    scipy==1.3.0
    numpy==1.16.4
    opencv-python==4.1.0.25
    dlib
    whitenoise==4.1

    Wednesday, August 14, 2019 3:13 PM
  • Could you please send an email to AzCommunity[at]Microsoft[dot]com referencing this thread, we would like to work closer with you on this matter
    Monday, August 19, 2019 4:28 AM
    Moderator