Reputation: 229
I am trying to install a package called got using pip. But it keeps showing up errors of 'couldn't find a version that satisfies the requirement".
I've searched online about the solutions. There are some explanation saying to try pip freeze > requirements.txt. But it still remains a blackbox to me.
What is the problem here and what should I do exactly to install the package?
Thanks!
Upvotes: 8
Views: 51726
Reputation: 139
This could be a proxy setting issue (it was in my case). Ensure that you have correct proxies set, if you are behind a firewall.
Upvotes: 1
Reputation: 5474
Your package got
is indeed not on Pypi.
Your error is thrown when no package have been found.
eg:
→ pip install notfoundpackage
Collecting notfoundpackage
Could not find a version that satisfies the requirement notfoundpackage (from versions: )
No matching distribution found for notfoundpackage
Though, because you know the github link, you can clone the repository using git.
git clone [email protected]:Jefferson-Henrique/GetOldTweets-python.git
cd GetOldTweets-python
python Exporter.py -h
If you really need a python library for tweeter, some other library already exist, like twython.
Upvotes: 1
Reputation: 41
This package doesn't include a setup.py
, so you can't install it from pip.
If it did, you could install it with:
pip install git+https://github.com/Jefferson-Henrique/GetOldTweets-python.git
Upvotes: 3