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
11
votes
4 answers

Can't install zbar

I am trying to use the qrtools module with Python 3.4.2 on my Raspberry Pi 2, however it cannot run as I don't have the zbar module installed. Trying pip-3.2 install zbar Gives the error message shown in the picture sudo pip-3.2 install…
Wicket_IV
  • 199
  • 1
  • 1
  • 10
11
votes
1 answer

Can't run pip: UnicodeDecodeError

I have trouble using pip. For example: pip install numpy --upgrade Gives me the following error: Collecting numpy Using cached numpy-1.10.2.tar.gz Exception: Traceback (most recent call last): File…
Hugo
  • 113
  • 1
  • 7
11
votes
4 answers

windows pip installing libraries in wrong directory

I have python 3.5 on windows 7 machine and this machine does not have any other python version. pip comes with python 3.5 installation. I used pip to install selenium libraries pip install selenium It installed the library…
Sun Shine
  • 575
  • 2
  • 6
  • 20
11
votes
3 answers

Multiple python installations and pip, dude, where is my site-packages?

As we all know, Mac OS ships with its own python pre installed. The recommendation seems to be to leave that alone and use homebrew to install a fresh python into the system. My issue is that after installing python (and pip) using homebrew, pip is…
Zebs
  • 5,378
  • 2
  • 35
  • 49
11
votes
4 answers

Tensorflow successfully installs on mac but gets ImportError on copyreg when used

After successfully pip install, importing the tensorflow library fails. >>> import tensorflow Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/tensorflow/__init__.py", line 4, in…
feng
  • 143
  • 1
  • 1
  • 3
11
votes
1 answer

Practical difference between pip and conda

I saw other questions regarding difference between pip and conda, but it is not clear to me yet, please consider that before marking as duplicate. If I run pip install seaborn and conda install seaborn Will I get the same result ? I can run pip…
Renan Tardelli
  • 143
  • 1
  • 12
11
votes
2 answers

pip install vs. conda install

After activating a virtualenv source activate myVirtualEnv how is pip install basemap different from conda install basemap? Both gave me different results, why is that? pip install basemap Collecting basemap Could not find a version that…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
11
votes
3 answers

'error: Error -5 while decompressing data: incomplete or truncated stream' when installing pip package

I'm having the following error when running pip install Pillow==2.9.0 in a virtualenv: error: Error -5 while decompressing data: incomplete or truncated stream Other packages install/uninstall fine, it just seems to affects Pillow 2.9.0. It doesn't…
chrisbunney
  • 5,819
  • 7
  • 48
  • 67
11
votes
2 answers

Compile Cython on pip package build

I'm developing a Python package, EcoPy, that is mostly written in pure Python. The main folder is called ecopy. There's a subfolder called regression that has a Cython file that's already been built. The main setup.py file includes the…
Nate
  • 1,888
  • 3
  • 18
  • 26
11
votes
1 answer

Custom code on pip uninstall

I want to run some custom code when I run pip uninstall, cleaning up files that were created on installation. How should I go about this? I've got custom install code running by using the following in setup.py: from setuptools import setup from…
scubbo
  • 4,969
  • 7
  • 40
  • 71
11
votes
4 answers

How can I control which Python distribution to pip install a package to when I have Python 2, Python 3, and Anaconda on my computer?

I have the following Python distributions installed on my Windows computer: Python 2.7 (IDLE) Python 3.4 (IDLE) Anaconda (Python 3.4) Obviously, they all store their libraries in different locations. So, how can I easily make a targeted…
Tian Jiang
  • 153
  • 1
  • 2
  • 8
11
votes
1 answer

What does “[sdist]” mean in PIP's list of outdated packages?

Suddenly, all Python packages reported as out of date by pip with pip list --outdated indicate [sdist], as in awscli (Current: 1.7.19 Latest: 1.7.20 [sdist]) botocore (Current: 0.100.0 Latest: 0.101.0 [sdist]) jmespath (Current: 0.6.1 Latest:…
orome
  • 45,163
  • 57
  • 202
  • 418
11
votes
3 answers

Pip install: can't open file pip, or Parent module '' not loaded

Thanks for reading this in the first place. I'm trying to install Django. So here's what I do in the command line: C:\>python34 pip install Django And here's what I get: C:\Python34\python.exe: can't open file 'pip': [Errno 2] No such file or…
Koos
  • 111
  • 1
  • 1
  • 3
11
votes
4 answers

Python pip install requires server_hostname

I finished installing pip on linux, the pip list command works. But when using the pip install command it got the following error: Traceback (most recent call last): File…
Mryoun
  • 153
  • 1
  • 3
  • 10
11
votes
2 answers

No module named 'pip._vendor.cachecontrol'

Running pip on OSX gives the following error: Traceback (most recent call last): File "/usr/local/bin/pip", line 9, in load_entry_point('pip==6.0.6', 'console_scripts', 'pip')() File…
user1056864
  • 131
  • 1
  • 1
  • 4
1 2 3
99
100