擅长:python、mysql、java
<p>目前,这是一个公开问题,目前正在由我们的谷歌工程团队解决。为您运行本地开发服务器提供了一个变通方法:</p>
<ol>
<li>为Python 2安装<code>pip</code></li>
</ol>
<pre><code>sudo apt update
sudo apt install python-pip
</code></pre>
<ol start=“2”>
<li>安装<code>urlquote</code>而不是<code>py27_urlquote</code></li>
</ol>
<pre><code>pip install urlquote
</code></pre>
<ol start=“3”>
<li>从错误消息中修改位于本地目录上的<code>module.py</code></li>
</ol>
<pre><code>/Users/user/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py
</code></pre>
<ol start=“4”>
<li>将<code>py27_urlquote</code>替换为<code>urlquote</code>。有3行代码使用<code>py27_urlquote</code>。特别是第39、833和836行</李>
</ol>
<p>有关更多信息和更新,请查看与您的问题类似的<a href="https://issuetracker.google.com/200817325" rel="nofollow noreferrer">public tracker</a></p>