Install Python Dependencies

Kevin Zhu 51 Reputation points
2020-09-16T21:21:53.067+00:00

I am trying to deploy my flask application on azure through GitHub, but my program is telling me that i need to install Python Dependencies.
All my html files are in my github, along with the requirements text yet it's still not working.
I'm not quite sure of what to do and I'm stuck right now. I've attached an image of what my error looks like, please let me know if you can help in anyway!
25296-image.png

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

1 answer

Sort by: Most helpful
  1. Kevin Zhu 51 Reputation points
    2020-09-17T13:21:32.443+00:00

    @ajkuma Thank you for getting back to me! So i followed your advice and isolated this issue, and did python3 -m venv venv to create a virtual environment. A thing that i noticed is that I can't use the command (source venv/bin/activate) - if i wanted that step to work i would have to write (venv\Scripts\activate).

    The error that I get when i try to do the command (source venv/bin/activate) is: 'source' is not recognized as an internal or external command,
    operable program or batch file."

    I'm attempting to deploy my Python Web App with GitHub as I've been watching a lot of tutorials on how to deploy my application but I'm still getting no luck. If you know any possible solution to this, please let me know - and thank you once again for answering my question!

    EDIT
    I've realized that I'm deploying it through Linux using python 3.8 but it's still not working