Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Vercel flask deployment error: Unable to find any supported Python versions

$
0
0

I want to deploy flask app on Vercel

but whenever I try to deploy it, I get this error:

Error: Unable to find any supported Python versions.01:53:10.844Learn More: http://vercel.link/python-version

This is vercel.json file:

{"version":2,"builds": [        {"src":"./index.py","use": "@vercel/python","config":{"runtime":"python3.9"}        }    ],"routes": [        {"src":"/(.*)","dest":"/"        }    ]}

I've tried changing Python versions to 3.6, 3.8 , 3.8, 3.11

Then someone told me to make a pipfile tried that but it's still not working

This is the Pipfile

[[source]]url = "https://pypi.org/simple"verify_ssl = truename = "pypi"[packages]flask = "*"requests = "*"python-dotenv = "*"[dev-packages][requires]python_version = "3.9"

Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>