python - 找不到 antlr-python-runtime 的匹配分布

标签 python google-app-engine antlr

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/

相关文章:

python - 更改 python 解释器窗口

java - Maven GAE/Datanucleus 不确定性

google-app-engine - GAE : Exceeded maximum allocated IDs

java - 使用antlr指定基本监听器/访问者实现

java - 给定ANTLR java语法获取java源方法名称列表?

python - 如何在列表迭代过程中暂停并开始倒退?

python - Pandas 堆栈列对

python - 如何旋转 matplotlib 条形图?

python - 带有本地 Django 1.1 的 Google App Engine 出现间歇性故障

javascript - 如何编写以下标准的语法 - ANTLR4 语法 - 自定义表达式