我正在尝试在虚拟环境中安装软件包
pip install -r requirements.txt 然而,我不得不从源码下载并安装两个包
antlr4-python2-runtime 4.5.2.1
tar xvfz antlr4-python2-runtime-4.5.2.1.tar.gz
cd antlr4-python2-runtime-4.5.2.1
python setup.py install但现在它向我显示了这个错误:
Could not find any downloads that satisfy the requirement antlr-python-runtime>=3.1.3 (from Intellect==1.4.9->-r requirements.txt (line 3))发布于 2016-02-26 07:14:02
我不确定发生了什么(考虑到提供的信息还不够),但从PyPI中的搜索来看,这是两个不同的包:
和
所以,看起来你安装了错误的包。
注意:还要确保您在运行python setup.py install时激活了virtualenv。
https://stackoverflow.com/questions/35639877
复制相似问题