7

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!

Miya Wang
  • 219
  • 2
  • 3
  • 7

3 Answers3

3

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

David Cox
  • 41
  • 2
1

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 git@github.com: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.

Kruupös
  • 5,097
  • 3
  • 27
  • 43
  • `twython` and `tweepy`are both pretty good, but they use both the Twitter API, so they are unfortunately very limited in terms of all kind of use. With `got` you can get very old tweets and you can get much more tweets in at once. – sunwarr10r Feb 01 '17 at 15:40
1

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.

Lothar
  • 129
  • 7