The easiest way to install the latest version from PyPI is by using pip:
pip install tweepy
You can also use Git to clone the repository from GitHub to install the latest development version:
git clone https://github.com/tweepy/tweepy.git
cd tweepy
pip install .
Alternatively, install directly from the GitHub repository:
pip install git+https://github.com/tweepy/tweepy.git
Python 3.6 - 3.10 are supported.