Installing Tweepy on CentOS can be a little challenging if you are trying to following other tutorials based on mainstream desktop Linux OS’s.
Don’t forget – to use Tweepy you will need to obtain your keys from the Twitter developer site
Below you can find the commands you require to install on CentOS:
1 |
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm |
1 |
yum install -y python-pip |
1 |
pip install tweepy |
That’s it.. Now you can call tweepy from the command line or scripts.
If you are looking for a Python script to take advantage of Tweepy check out this post from RasPi.TV. Which works perfectly on my Pi and CentOS boxes.