You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At what date and time did you most recently experience the problem?
I am experiencing the problem right now.
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
I am experiencing the problem on Azure Web Apps.
If your repo is publicly available please share its URL:
It is not.
What happened?
The Python module psycopg2 is not available during web application startup, despite Oryx installing the package into the virtual environment successfully. Using the Kudu Bash web UI, I can see all the packages installed into the antenv in the /tmp/_preCompressedDestinationDir, which according to the logs is compressed and moved to /home/site/wwwroot/output.tar.gz. I can download this file and verify the package is installed there. This is the archive that according to the logs is used by the web application at startup time.
What did you expect or want to happen?
I want the package that is installed into the antenv to be available to the web application at startup.
How can we reproduce it?
Linux App Service with Python 3.11 runtime, with the following requirements:
Bug Report
I am experiencing the problem right now.
I am experiencing the problem on Azure Web Apps.
It is not.
The Python module
psycopg2
is not available during web application startup, despite Oryx installing the package into the virtual environment successfully. Using the Kudu Bash web UI, I can see all the packages installed into the antenv in the/tmp/_preCompressedDestinationDir
, which according to the logs is compressed and moved to/home/site/wwwroot/output.tar.gz
. I can download this file and verify the package is installed there. This is the archive that according to the logs is used by the web application at startup time.I want the package that is installed into the
antenv
to be available to the web application at startup.Linux App Service with Python 3.11 runtime, with the following requirements:
The Oryx build log showing the successful installation of all packages listed in my
requirements.txt
:The web application startup log showing the failure to find the package:
The text was updated successfully, but these errors were encountered: