Hi @Vaishnavi More ,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The Oryx build steps may be failing because the function app cannot reach pypi.org to pull the libraries. Please check below and let me know if it helps.
- If your Function App uses regional VNet Integration: inspect the subnet’s NSG outbound rules and the route table / NAT gateway. Allow outbound HTTPS (port 443) to
pypi.org
(or to the NAT public IPs used by the subnet). - If your org uses a proxy, ensure the proxy settings are available to the build environment (set
HTTP_PROXY
/HTTPS_PROXY
). - If you use a private PyPI feed, make sure it mirrors required packages or add
--extra-index-url https://pypi.org/simple
(or setPIP_EXTRA_INDEX_URL
environment variable) so the build can fall back to PyPI. Inrequirements.txt
:
OR pip config (--extra-index-url https://pypi.org/simple azure-functions==1.23.0
~/.config/pip/pip.conf
or/etc/pip.conf
):[global] extra-index-url = https://pypi.org/simple
Reference: https://learn.microsoft.com/en-us/answers/questions/2117785/azure-function-kudu-not-recognizing-pip