dev_appserver.py requires python 2. You actually run it with python2 and it will spawn a python 3 process to handle your python3 app. This allows it to support app engine services that use different languages.
On Wednesday, August 12, 2020 at 3:37:14 AM UTC-7 rit...@gmail.com wrote: > Hello > > I am getting back to GAE after many years. Things have definitely changed. > As a new project, I got started with Python 37 runtime. My virtualenv is > created using: python3 -m venv ENV and thus does not have python2. > > When I try to run my app in local mode using dev_appserver.py (i am just > trying to play around with the sample app from the documentation), I get: > > dev_appserver.py app.yaml > ERROR: (dev_appserver) python2: command not found > > I installed google-cloud-sdk using brew with: brew cask install > google-cloud-sdk. > > As of now, my only requirement for my app is GAE and datastore and I am > hoping to be able to use the datastore emulator with the above. > > Ritesh > -- How we’re addressing COVID-19 Health and safety is our top priority. We have made arrangements for all staff to work remotely from home to continue to provide uninterrupted service, expertise and advice to our authors and prospective customers during the unfolding COVID-19 situation. Click here for more information <https://www.friesenpress.com/covid-19>. Connect with us at: <https://www.friesenpress.com/social> FriesenPress Mailing Address | Suite 300 - 990 Fort St, Victoria, BC, Canada, V8V 3K2 friesenpress.com <https://www.friesenpress.com> | friesenpress.com/blog <https://www.friesenpress.com/blog> You are receiving this email because you are a FriesenPress client or partner. This email and any documents attached to it may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution of the contents of this email is prohibited. If you no longer wish to receive promotional emails from FriesenPress, please click here <https://www.friesenpress.com/agreement/email> to change your settings. The privacy of your information is important to us. To learn more, visit our privacy policy <https://www.friesenpress.com/about/privacy-policy/>. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/395e6328-6e62-44dc-aad3-2f391c60343en%40googlegroups.com.