First, check your Python version with python3 --version
or python --version
on console (terminal/shell/command prompt).
Either install Python 3 on your computer OR use something like PythonAnywhere
pip3 install tweepy
pip3 install -U git+https://github.com/tweepy/tweepy.git@2efe385fc69385b57733f747ee62e6be12a1338b
If the above command doesn't work, try replacing pip3
with pip
also.
pipenv install -e git+https://github.com/tweepy/tweepy.git@2efe385fc69385b57733f747ee62e6be12a1338b#egg=tweepy