Miya Wang
Miya Wang

Reputation: 229

Pip install-couldn't find a version that satisfies the requirement

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".

error

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

Answers (3)

Lothar
Lothar

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

Kruupös
Kruupös

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

David Cox
David Cox

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

Related Questions