Questions tagged [pip]

pip is a Python package installer

pip is a replacement for easy_install, and is intended to be an improved Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories.

212 questions
109
votes
6 answers

zipimport.ZipImportError: can't decompress data; zlib not available

On RHEL 6.6, I installed Python 3.5.1 from source. I am trying to install pip3 via get-pip.py, but I get Traceback (most recent call last): File "get-pip.py", line 19177, in main() File "get-pip.py", line 194, in main …
Flair
  • 1,191
  • 2
  • 7
  • 6
54
votes
5 answers

Recommended way of installing python packages on Arch

What's the recommended way of installing python packages on Arch? Searching for them on the AUR and installing them from there (or create a PKGBUILD file to make a package yourself) or using pip? I started off by installing stuff from pacman and the…
Nils Werner
  • 3,554
  • 2
  • 16
  • 14
34
votes
5 answers

Pip vs Package Manager for handling Python Packages

Python packages are frequently hosted in many distribution's repositories. After reading this tutorial, specifically the section titled "Do you really want to do this" I have avoided using pip and preferred to use the system repository, only…
mas
  • 1,849
  • 2
  • 18
  • 30
32
votes
3 answers

Install python pip in Debian Wheezy

How to install pip in Debian Wheezy? I've found many advises apt-get install python-pip but the result is "Unable to locate package python-pip" Is pip available in Debian Wheezy? I'm using 7.8
Jako
  • 423
  • 1
  • 4
  • 5
24
votes
1 answer

Why did pip install a package into ~/.local/bin?

When I install this "Taurus Blazemeter 'bzt'" program with pip, it ends up being installed into ~/.local/bin folder. mkdir ~/bzt && cd ~/bzt sudo apt-get install python default-jre-headless python-tk python-pip python-dev libxml2-dev libxslt-dev…
djangofan
  • 4,002
  • 5
  • 21
  • 19
19
votes
5 answers

Install PIL/Pillow via pip in Debian testing (Jessie)

On Debian testing (Jessie), when I try to install PIL or Pillow (python imaging libs) in a virtualenv via pip I get the following error: running egg_info writing Pillow.egg-info/PKG-INFO writing top-level names to…
alekosot
  • 1,105
  • 2
  • 10
  • 19
17
votes
5 answers

How do I correct the path for pip?

I'm trying to get pip to point to a different install rather than the default. It is currently pointing to /usr/bin/pip, but I want it to point to /usr/local/bin/pip. I believe I have the path set correctly and everything else points to the…
Andrew Saxe
15
votes
1 answer

Difference between installing a package with 'apt' and 'pip'

I have been trying to install a Python module which relies in setuptools, and apparently the module was installed using apt. However, it seems to be the wrong version, so I tried to install it using pip just to see if anything changes (spoiler:…
bert
  • 255
  • 8
13
votes
1 answer

How can install specific version of ansible?

How can I install a specific version of Ansible, using Yum or another method? When I try to install version 2.0 it says No package 2.0 available. I checked the epel repo. There are only two rpms, but no rpm containing version 2.0. Why are they…
salauddin
  • 325
  • 2
  • 3
  • 6
12
votes
5 answers

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I'm using Kali Linux 2020.1, I installed Python3.7, then after trying to install modules using pip3 command I keep getting this error message. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not…
Imran Abdalla
  • 121
  • 1
  • 1
  • 4
10
votes
3 answers

How to install python pip without Internet connection?

My python is 2.7.5, -bash-4.2$ python --version Python 2.7.5 By default it doesn't have python pip. My Linux is Redhat ERHL 7.3. -bash-4.2$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) I have also checked that I…
cdhit
  • 477
  • 3
  • 7
  • 15
9
votes
5 answers

How can I upgrade pip on Ubuntu 10.04?

On Ubuntu 10.04 I've used apt-get install pip to install pip after which I installed django. Then I tried to uninstall django with pip via pip uninstall django which gives me: pip: error: No command by the name pip uninstall From doing some…
cwd
  • 44,479
  • 71
  • 146
  • 167
9
votes
1 answer

Broken pipe when grepping output, but only with -i flag

I'm trying to see if a certain python-library is installed by grepping the output of pip list. If I try this pip list | grep -q $package, it works fine. If I try pip list | grep -qi $package, I get the following error output pi@pibox:~ $ pip list |…
John Allard
  • 1,318
  • 1
  • 14
  • 23
8
votes
2 answers

What is the correct way to upgrade pip in stretch debian?

I have gone through some notes that it is not a good idea to do pip upgrade using sudo command. My question is if I don't give sudo I get permission errors. How can I resolve this? Also, what is the reason sudo is not suggested in order to upgrade…
kurramkurram D
  • 519
  • 1
  • 4
  • 11
7
votes
2 answers

Is there a way to disable pip outside of a virtual environment?

Since asking a question about Pip vs Package Manager for handling Python Packages I've learned a lot, especially about virtual environments with the venv module. These days I almost exclusively install packages with pip inside virtual environments.…
mas
  • 1,849
  • 2
  • 18
  • 30
1
2 3
14 15