Attempting to run a python 2.7 app engine app locally using PyCharm (which uses dev_appserver) my machine is python 3.7 but I have a python 2.7 virtual env setup as the project interpreter, which works fine when running the project.
However when attempting to debug the same run config (which runs fine) I am getting the following error
ERROR: (dev_appserver) python2: command not found
I can run the python2
command in my terminal both inside and outside the virtual environment so I am not sure what is wrong here.
I am currently running Pop!_OS 20.04 LTS if that helps.
I have the same issue on mac catalina with Pycharm 2020.1.2. I was able to start the debugger by using a "Python configuration", rather than a "App Engine Server" configuration. Steps below:
This isn't perfect, but at least you can run the debugger within pycharm.
I look forward to a better answer some day that works with the "App Engine Server" configuration.