安装

通过pip安装tweepy是最简单的方法:

pip install tweepy

使用 tweepy.asynchronous 包, 确定安装额外的 async

pip install tweepy[async]

你也能使用Git从github上下载并安装最新的版本:

git clone https://github.com/tweepy/tweepy.git
cd tweepy
pip install .

或者,直接从Github安装:

pip install git+https://github.com/tweepy/tweepy.git