Prompting "importerror: No Module Named Py27_urlquote" When Running Dev_appserver.py On Google Cloud Sdk
When I run dev_appserver.py on google-cloud-sdk, I get ImportError: No module named py27_urlquote. Traceback (most recent call last): File '/Users/user/Downloads/google-cloud-sdk
Solution 1:
Right now this is a public issue and is currently being addressed by our Google Engineering Team. A workaround was provided for you to run your local development server:
- Install
pip
for Python 2
sudo apt update
sudo apt install python-pip
- Install
urlquote
instead ofpy27_urlquote
pip install urlquote
- Modify
module.py
located on your local directory from the error message
/Users/user/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py
- Replace
py27_urlquote
tourlquote
. There are 3 lines of code that usespy27_urlquote
. Specifically lines 39, 833, and 836.
You can check this public tracker similar to your issue for more information and updates.
Post a Comment for "Prompting "importerror: No Module Named Py27_urlquote" When Running Dev_appserver.py On Google Cloud Sdk"