Philip
Philip

Reputation: 599

manually install package in virtual env and pip requirements know

I am trying to install packages within virtual-env

pip install -r requirements.txt 

However, I had to download and install 2 packages from source

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

But now it shows me this error:

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))

Upvotes: 1

Views: 476

Answers (1)

dethos
dethos

Reputation: 3454

I'm not sure what's happening (given the provided information is not enough), but from a search in PyPI, it looks that those are 2 different packages:

Version 4 antlr4-python2-runtime

and

Version 3 antlr_python_runtime

So, it seems you installed the wrong package.

Note: Also make sure that you are running python setup.py install with the virtualenv activated.

Upvotes: 1

Related Questions