Error: Unable to find any supported Python versions. #6287
Replies: 7 comments 16 replies
-
is there any way to do this |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting this! I have something you to try that worked for me. Go into project settings and change the Node.js version to 18.x, then redeploy or start a new deployment. Does that fix it? |
Beta Was this translation helpful? Give feedback.
-
It doesn't work even if i changed the node version 18.x to 18.x again |
Beta Was this translation helpful? Give feedback.
-
Same issu here tried buiding either with Flask or Django but got the same problem:
Here is the current {
"version": 2,
"builds": [
{
"src": "default/settings/wsgi.py",
"use": "@vercel/python",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
}
],
"routes": [
{
"src": "/(.*)",
"dest": "default/settings/wsgi.py"
}
]
}
|
Beta Was this translation helpful? Give feedback.
-
what if you're not using a framework, just a bare python script? |
Beta Was this translation helpful? Give feedback.
-
Hii please helpp it work for me when i changed the node version to 18, but then when i want to deploy it on production, it resulted this error in the cmd and also this error on the web Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR on the log i got this |
Beta Was this translation helpful? Give feedback.
-
Vercel is no longer hosting python
They're just acting like they can
…On Tue, Apr 16, 2024, 2:47 AM tesaabi ***@***.***> wrote:
hii i'm having the same problem.
this is my vercel.json
{
"version": 2,
"builds": [
{
"src": "/api/app.py",
"use": ***@***.***/python"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/api/app.py"
}
]
}
and im using flask app, i've tried everything but nothing work. With the
code below the deployment can be done but when i go the deployed page, it
always resulting in 404 not found
{
"rewrites": [{ "source": "/(.*)", "destination": "/api/app.py" }]
}
please help me, what should i do??
—
Reply to this email directly, view it on GitHub
<#6287 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BB2A4OUWG7PUZT4ZGKGGAL3Y5R7LNAVCNFSM6AAAAABFKWMV42VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRUGI3DQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Page to Investigate
https://vercel.com/templates/python/flask-hello-world
Steps to Reproduce
I recently tried to deploy an application using Vercel's Flask template and the following error occurred:
"Error: Unable to find any supported Python versions."
I tried redeploying for 2 days in a row and out of curiosity, testing the python-hello-world template as well, which generated the same deploy error. What could it be ?
I have seen previous reports that say about incompatibility with node 20.x, but the project is already configured with node 18.x
Beta Was this translation helpful? Give feedback.
All reactions