Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install tweepy via python pip




tweepy - Twitter library for Python, it belongs to Classifiers:

- Programming Language :: Python :: 3 :: Only

When you know about this project and you want to new install tweepy to support your project or you get trouble as ModuleNotFoundError: No module named "tweepy" or ImportError: cannot import name "tweepy" in your project, let follow this tutorial to install tweepy



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_tweepy_env

- Active the virtual environment

test_tweepy_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_tweepy_env

- Active the virtual environment

source test_tweepy_env/bin/active


Step 2: OK, now, let flow below content to start the installation tweepy

To install tweepy on Windows(CMD):

py -m pip install tweepy

To install tweepy on Unix/macOs:

pip install tweepy


Step 3: If you want to install a specific tweepy version, add ==<tweepy version> to the end command line

Example:

pip install tweepy==1.1


Please see the version list below table:

VersionReleased dateCommand
tweepy 4.10.02022-05-20T17:36:29Windows:

py -m pip install tweepy==4.10.0

Unix/macOs:

pip install tweepy==4.10.0

tweepy 4.9.02022-05-05T14:24:51Windows:

py -m pip install tweepy==4.9.0

Unix/macOs:

pip install tweepy==4.9.0

tweepy 4.8.02022-03-24T21:08:20Windows:

py -m pip install tweepy==4.8.0

Unix/macOs:

pip install tweepy==4.8.0

tweepy 4.7.02022-03-17T23:03:35Windows:

py -m pip install tweepy==4.7.0

Unix/macOs:

pip install tweepy==4.7.0

tweepy 4.6.02022-02-24T21:02:01Windows:

py -m pip install tweepy==4.6.0

Unix/macOs:

pip install tweepy==4.6.0

tweepy 4.5.02022-01-25T00:53:54Windows:

py -m pip install tweepy==4.5.0

Unix/macOs:

pip install tweepy==4.5.0

tweepy 4.4.02021-11-17T14:35:49Windows:

py -m pip install tweepy==4.4.0

Unix/macOs:

pip install tweepy==4.4.0

tweepy 4.3.02021-11-03T22:18:04Windows:

py -m pip install tweepy==4.3.0

Unix/macOs:

pip install tweepy==4.3.0

tweepy 4.2.02021-10-29T16:49:18Windows:

py -m pip install tweepy==4.2.0

Unix/macOs:

pip install tweepy==4.2.0

tweepy 4.1.02021-10-07T08:34:55Windows:

py -m pip install tweepy==4.1.0

Unix/macOs:

pip install tweepy==4.1.0

tweepy 4.0.12021-10-01T18:19:45Windows:

py -m pip install tweepy==4.0.1

Unix/macOs:

pip install tweepy==4.0.1

tweepy 4.0.02021-09-25T18:22:18Windows:

py -m pip install tweepy==4.0.0

Unix/macOs:

pip install tweepy==4.0.0

tweepy 3.10.02020-12-26T02:23:47Windows:

py -m pip install tweepy==3.10.0

Unix/macOs:

pip install tweepy==3.10.0

tweepy 3.9.02020-07-11T19:28:07Windows:

py -m pip install tweepy==3.9.0

Unix/macOs:

pip install tweepy==3.9.0

tweepy 3.8.02019-07-15T01:20:32Windows:

py -m pip install tweepy==3.8.0

Unix/macOs:

pip install tweepy==3.8.0

tweepy 3.7.02018-11-28T03:55:28Windows:

py -m pip install tweepy==3.7.0

Unix/macOs:

pip install tweepy==3.7.0

tweepy 3.6.02018-03-02T19:40:50Windows:

py -m pip install tweepy==3.6.0

Unix/macOs:

pip install tweepy==3.6.0

tweepy 3.5.02015-11-20T05:54:33Windows:

py -m pip install tweepy==3.5.0

Unix/macOs:

pip install tweepy==3.5.0

tweepy 3.4.02015-08-14T00:27:18Windows:

py -m pip install tweepy==3.4.0

Unix/macOs:

pip install tweepy==3.4.0

tweepy 3.3.02015-02-21T19:31:44Windows:

py -m pip install tweepy==3.3.0

Unix/macOs:

pip install tweepy==3.3.0

tweepy 3.2.02015-01-28T19:34:13Windows:

py -m pip install tweepy==3.2.0

Unix/macOs:

pip install tweepy==3.2.0

tweepy 3.1.02014-12-01T19:42:15Windows:

py -m pip install tweepy==3.1.0

Unix/macOs:

pip install tweepy==3.1.0

tweepy 3.02014-11-30T21:16:49Windows:

py -m pip install tweepy==3.0

Unix/macOs:

pip install tweepy==3.0

tweepy 2.3.02014-04-27T01:07:23Windows:

py -m pip install tweepy==2.3.0

Unix/macOs:

pip install tweepy==2.3.0

tweepy 2.32014-04-27T05:20:39Windows:

py -m pip install tweepy==2.3

Unix/macOs:

pip install tweepy==2.3

tweepy 2.22014-01-20T18:44:14Windows:

py -m pip install tweepy==2.2

Unix/macOs:

pip install tweepy==2.2

tweepy 2.12013-07-14T18:59:03Windows:

py -m pip install tweepy==2.1

Unix/macOs:

pip install tweepy==2.1

tweepy 2.02013-02-10T21:45:51Windows:

py -m pip install tweepy==2.0

Unix/macOs:

pip install tweepy==2.0

tweepy 1.132013-01-17T18:25:02Windows:

py -m pip install tweepy==1.13

Unix/macOs:

pip install tweepy==1.13

tweepy 1.122012-11-08T08:26:56Windows:

py -m pip install tweepy==1.12

Unix/macOs:

pip install tweepy==1.12

tweepy 1.112012-08-15T05:46:10Windows:

py -m pip install tweepy==1.11

Unix/macOs:

pip install tweepy==1.11

tweepy 1.102012-07-09T06:49:01Windows:

py -m pip install tweepy==1.10

Unix/macOs:

pip install tweepy==1.10

tweepy 1.92012-03-17T06:57:18Windows:

py -m pip install tweepy==1.9

Unix/macOs:

pip install tweepy==1.9

tweepy 1.82011-11-01T04:09:23Windows:

py -m pip install tweepy==1.8

Unix/macOs:

pip install tweepy==1.8

tweepy 1.7.12010-05-25T15:33:48Windows:

py -m pip install tweepy==1.7.1

Unix/macOs:

pip install tweepy==1.7.1

tweepy 1.62010-03-18T23:34:20Windows:

py -m pip install tweepy==1.6

Unix/macOs:

pip install tweepy==1.6

tweepy 1.52010-01-12T23:00:43Windows:

py -m pip install tweepy==1.5

Unix/macOs:

pip install tweepy==1.5

tweepy 1.42009-12-10T18:45:21Windows:

py -m pip install tweepy==1.4

Unix/macOs:

pip install tweepy==1.4

tweepy 1.32009-11-14T05:59:03Windows:

py -m pip install tweepy==1.3

Unix/macOs:

pip install tweepy==1.3

tweepy 1.22009-10-19T01:40:25Windows:

py -m pip install tweepy==1.2

Unix/macOs:

pip install tweepy==1.2

tweepy 1.12009-10-14T06:17:16Windows:

py -m pip install tweepy==1.1

Unix/macOs:

pip install tweepy==1.1


Step 4: Otherwise, you can install tweepy from local archives:

Download the distribution file from tweepy-4.10.0.tar.gz or the specific tweepy version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tweepy_downloaded_file>

On Unix/macOs:

pip install <path_to_tweepy_downloaded_file>


List distribution:


Project link:

- Homepage
- Download
- Documentation
- Issue Tracker
- Source Code