I have created a Python Azure HttpTrigger function also executed on the local. It works fine on local but when I am deploying Azure HttpTrigger function on azure then I got below error:-
There was an error restoring dependencies. ERROR: cannot install pyodbc-4.0.25 dependency: binary dependencies without wheels are not supported.
Use the --build-native-deps option to automatically build and configure the dependencies using a Docker container. More information at https://aka.ms/func-python-publish
I have added the Pyodbc package in requirement.txt file
. When python azure functions deploying on azure that time pyodbc installed on the local python path not in .env path.
I have already selected the python interpreter \.env\Scripts\python.ext
but pyodbc package installs on the local python path.
I am not able to understand how can I solve above problem? If anybody knows the solution please let me know. I want to install packages on azure funcions.