Questions tagged [pip]

Use for questions about the Python package installer but not about Picture-in-Picture

pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. The name is a recursive acronym for "Pip Installs Packages".

It replaces easy_install and is an improved Python package installer. The differences between easy_install and pip can be found in a discussion on the Python Packaging User Guide.

Please do not use the tag for Picture-in-Picture, use instead.

23287 questions
2734
votes
40 answers

How do I install pip on Windows?

pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way?
mit
  • 11,083
  • 11
  • 50
  • 74
2710
votes
57 answers

How to upgrade all Python packages with pip

Is it possible to upgrade all Python packages at one time with pip? Note: that there is a feature request for this on the official issue tracker.
thedjpetersen
  • 27,857
  • 4
  • 26
  • 28
1896
votes
12 answers

Installing specific package version with pip

I am trying to install version 1.2.2 of MySQL_python, using a fresh virtualenv created with the --no-site-packages option. The current version shown in PyPi is 1.2.3. Is there a way to install the older version? I have tried: pip install…
Joe
  • 25,307
  • 12
  • 38
  • 35
1732
votes
18 answers

How can I install packages using pip according to the requirements.txt file from a local directory?

Here is the problem: I have a requirements.txt file that looks like: BeautifulSoup==3.2.0 Django==1.3 Fabric==1.2.0 Jinja2==2.5.5 PyYAML==3.09 Pygments==1.4 SQLAlchemy==0.7.1 South==0.7.3 amqplib==0.6.1 anyjson==0.3 ... I have a local archive…
kakarukeys
  • 21,481
  • 10
  • 35
  • 48
1672
votes
21 answers

How do I install pip on macOS or OS X?

I spent most of the day yesterday searching for a clear answer for installing pip (package manager for Python). I can't find a good solution. How do I install it?
The System
  • 16,761
  • 3
  • 13
  • 3
1420
votes
57 answers

pg_config executable not found

I am having trouble installing psycopg2. I get the following error when I try to pip install psycopg2: Error: pg_config executable not found. Please add the directory containing pg_config to the PATH or specify the full executable path with the…
user1448207
  • 14,335
  • 3
  • 14
  • 5
1219
votes
33 answers

How do I get a list of locally installed Python modules?

How do I get a list of Python modules installed on my computer?
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
1211
votes
19 answers

How do I install a Python package with a .whl file?

I'm having trouble installing a Python package on my Windows machine, and would like to install it with Christoph Gohlke's Window binaries. (Which, to my experience, alleviated much of the fuss for many other package installations). However, only…
e9t
  • 15,534
  • 5
  • 23
  • 25
1187
votes
34 answers

How do I remove all packages installed by pip?

How do I uninstall all packages installed by pip from my currently activated virtual environment?
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
1113
votes
16 answers

Find which version of package is installed with pip

Using pip, is it possible to figure out which version of a package is currently installed? I know about pip install XYZ --upgrade but I am wondering if there is anything like pip info XYZ. If not what would be the best way to tell what version I am…
Alexis
  • 23,545
  • 19
  • 104
  • 143
1099
votes
8 answers

pip install from git repo branch

Trying to pip install a repo's specific branch. Google tells me to pip install https://github.com/user/repo.git@branch The branch's name is issue/34/oscar-0.6 so I did pip install…
goh
  • 27,631
  • 28
  • 89
  • 151
1076
votes
14 answers

What is the difference between pip and conda?

I know pip is a package manager for python packages. However, I saw the installation on IPython's website use conda to install IPython. Can I use pip to install IPython? Why should I use conda as another python package manager when I already have…
lazywei
  • 11,955
  • 5
  • 20
  • 25
973
votes
9 answers

Why use pip over easy_install?

A tweet reads: Don't use easy_install, unless you like stabbing yourself in the face. Use pip. Why use pip over easy_install? Doesn't the fault lie with PyPI and package authors mostly? If an author uploads crap source tarball (eg: missing…
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
941
votes
24 answers

pip install mysql-python fails with EnvironmentError: mysql_config not found

This is the error I get (mysite)zjm1126@zjm1126-G41MT-S2:~/zjm_test/mysite$ pip install mysql-python Downloading/unpacking mysql-python Downloading MySQL-python-1.2.3.tar.gz (70Kb): 70Kb downloaded Running setup.py egg_info for package…
zjm1126
  • 34,604
  • 53
  • 121
  • 166
893
votes
23 answers

How do I update/upgrade pip itself from inside my virtual environment?

I'm able to update pip-managed packages, but how do I update pip itself? According to pip --version, I currently have pip 1.1 installed in my virtualenv and I want to update to the latest version. What's the command for that? Do I need to use…
zakdances
  • 22,285
  • 32
  • 102
  • 173
1
2 3
99 100