pip install google_appengine
Collecting google-appengine
Using cached google-appengine-1.5.1.tar.gz
Collecting pyyaml (from google-appengine)
Using cached PyYAML-3.11.tar.gz
Collecting webob==0.9 (from google-appengine)
Using cached WebOb-0.9.tar.gz
Collecting ipaddr (from google-appengine)
Using cached ipaddr-2.1.11.tar.gz
Collecting antlr-python-runtime (from google-appengine)
Could not find a version that satisfies the requirement antlr-python-runtime (from google-appengine) (from versions: )
No matching distribution found for antlr-python-runtime (from google-appengine)
pip 显示它可用但没有安装它:
pip search antlr
antlr4-python-alt - Alternative Python runtime for ANTLR 4
antlr_python_runtime - Runtime package for ANTLR3
antlr4-python3-runtime - ANTLR 4.5.2.1 runtime for Python 3.4.0
antlr4-python2-runtime - ANTLR 4.5.2.1 runtime for Python 2.7.6
INSTALLED: 4.5.2.1 (latest)
pip install antlr_python_runtime
Collecting antlr-python-runtime
Could not find a version that satisfies the requirement antlr-python-runtime (from versions: )
No matching distribution found for antlr-python-runtime
antlr4-python2-runtime
已安装但似乎还不够:
pip install antlr4-python2-runtime
Requirement already satisfied (use --upgrade to upgrade): antlr4-python2-runtime
This问题建议使用 --allow-unverified
和 --allow-external
安装,但这两个参数在最新版本的 pip (8.0.2) 中不再起作用。
感谢任何帮助。
最佳答案
在下面link找到antlr的3.1.3版本
运行后:
pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
pip google-appengine
工作正常
关于python - 找不到 antlr-python-runtime 的匹配分布,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35166420/