Python Flask application on Starter Linux Hosting with cPanel
I have installed Python 3.4 using SSH in my home/user folder, and I am able to run python script using the command prompt. Now I added one sample .py file in public_html folder and in that file below code is there -
Hi @pavelray31. Welcome to GoDaddy Community! I'm not a developer, but I'm thinking this won't work if you're using our cPanel Hosting. Those plans only support Python 2.6 and the documentation for Flask says it needs at least 2.7. If you're using a VPS or Dedicated Server, then it's more likely that it would work, but I'm not sure how you would start the app. Perhaps others in the community will have suggestions though.
JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.