vercel dev / python runtime / windows 10 #7519
-
I'm trying to start a dev environment with python runtime. I have this file only: api/date.py: from http.server import BaseHTTPRequestHandler
from datetime import datetime
class handler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header('Content-type', 'text/plain')
self.end_headers()
self.wfile.write(str(datetime.now().strftime('%Y-%m-%d %H:%M:%S')).encode())
return Then used "vercel dev" command. When i tried in my browser: received this message on browser: and in shell:
I have Python 3.10.2 and pip 22.0.3 installed How can i proceed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
At the moment only python 3.9 is supported. However, I am still struggling to to the python 3.9 working with |
Beta Was this translation helpful? Give feedback.
At the moment only python 3.9 is supported. However, I am still struggling to to the python 3.9 working with
vercel dev