dev_appserver Python3 Windows support plans?

134 views
Skip to first unread message

Jay Wolberg

unread,
Aug 9, 2022, 5:55:22 PM8/9/22
to Google App Engine
I have a bunch of Python27 App Engine apps that I have been wanting to upgrade to Python3.

But my development environment is on Windows, and dev_appserver is not supported for Python3 even though P27 was sunset years ago. This makes it extremely painful to re-write and test all the necessary modules, datastore, memcache, authentication, etc. 

Is there a planned support for this?

Windows 10
gcloud SDK 394.0.0
app-engine-python 1.9.100
app-engine-python-extras 1.9.96
beta 2022.07.19
bq 2.0.75
cloud-datastore-emulator 2.2.1
core 2022.07.19
gsutil 5.11

GCLOUD COMMAND:
dev_appserver.py --runtime_python_path="python27=C:\Python27\python,python38=C:\Python38\python" C:\Users\*****\workspace\********* --port=8080

ERROR:
server2\python\instance_factory.py", line 335, in _RunPipInstall
    pip_proc = subprocess.Popen(pip_cmd, stdout=pip_out, env=pip_env)
  File "C:\Python27\lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
Message has been deleted

Andres Fiesco Casasola

unread,
Aug 11, 2022, 1:11:35 PM8/11/22
to Google App Engine

At the moment, there is no support for dev_appserver. You can use the following link [1] to create a feature request.     


[1]:https://cloud.google.com/support/docs/issue-trackers

Reply all
Reply to author
Forward
0 new messages