Azure App Service with Python 3.9

john gorter 6 Reputation points
2022-04-07T11:10:26.147+00:00

Hi all,
A simple flask deploy using local git does not work and fails with the following output:

remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by remote: Destination directory: /home/site/wwwroot remote: remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Python Version: /tmp/oryx/platforms/python/3.9.12/bin/python3.9
remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Creating directory for command manifest file if it doesnot exist
remote: Removing existing manifest file
remote: Python Virtual Environment: antenv
remote: Creating virtual environment...
remote: Deployment Failed.
remote: Deployment Logs : 'https://techleap.scm.azurewebsites.net/jsonviewer?view_url=/api/deployments/19f04d55238f12a860b607762c26e698768be62e/log'

What am I doing wrong here?

John.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,852 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 15,696 Reputation points
    2022-04-07T20:31:20.257+00:00

    Hi @john gorter ,

    Thanks for the question. when did you start facing this issue? Are you using GitHub action for deployment? Please view this thread with a similar issue: https://learn.microsoft.com/en-us/answers/questions/236856/microsoft-web-app-service-error-39version-glibc-22.html

    Best,
    Grace

    0 comments No comments