Before starting please run the following commands pip install -r requirements.txt chmod a+x setup.sh ./setup.sh Then to start the program run python tweepy_api.py