PIP (Package Installer for Python) is a package manager for the Python language.
Questions tagged [pip]
93 questions
83
votes
3 answers
How do I list the files associated with a Python package installed using pip or easy_install?
I've installed a Python package using pip, which is a replacement for easy_install. How do I get a list of which installed files are associated with this package?
Basically, I'm looking for the Python package equivalent of
dpkg -L
or
rpm -ql
Lorin Hochstein
- 4,868
- 15
- 54
- 72
13
votes
8 answers
PIP not installing to virtualenv directory
I am attempting to install django to a virtualenv that already exists.
Following the instructions listed on the pip-install website here, I ran the following from SSH.
name@server:~$ . myenv.env/bin/activate
(myenv.env)nam@server:~$ pip install…
Luke Sapan
- 189
- 1
- 2
- 15
11
votes
4 answers
How to install python3.4-pip in FreeBSD 10.1?
I searched in the ports and can't find a pip installation package other than the pip for python27 py27-pip-6.1.1.
Which way is the best for installing pip for python 3.x in FreeBSD 10.1?
Or is it included in python 3.4 and and I just haven't figured…
Mr.Gosh
- 323
- 1
- 5
- 16
10
votes
2 answers
How Uninstall pip and python
I wanted to install version 3 of python and pip but instead issued
sudo apt-get install python-pip python-dev
how do I uninstall python and pip, I tried sudo apt-get uninstall but did not work, what is the correct command?
user402175
- 101
- 1
- 1
- 3
8
votes
3 answers
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team
I'm trying to run docker-compose (which was installed via pip), yet running into following error:
# pip install --quiet docker-compose
# docker-compose ps
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33:…
alexus
- 12,342
- 27
- 115
- 173
7
votes
1 answer
Build Docker image with cache on build server?
We've got a Jenkins CI server that fetches our code from Git, builds it, makes a Docker image, and then ships it off to some production servers.
Our project is primarily written in Python, so "building" involves running
pip install -r…
Tim
- 71
- 2
7
votes
2 answers
pip install seems to be ignoring dependency links
I have a Python application that depends on several packages. One of those packages, unfortunately, isn't in PyPi so I have to install it directly from the git repo.
I've been trying to add it into my setup.py like…
Dave Holland
- 1,898
- 1
- 13
- 17
7
votes
2 answers
'pip install carbon' looks like it works, but pip disagrees afterward
I'm trying to use pip to install the package carbon, a package related to statistics collection. When I run pip install carbon, it looks like everything works. However, pip is unconvinced that the package is actually installed. (This ultimately…
user33638
6
votes
3 answers
How To Tell Puppet To Only Install Using Pip If A File Doesn't Exist
I am using Puppet to install some Python packages using pip. I'm using Puppet 2.7, so my package declarations look something like this:
package { "carbon":
require => Class["graphite::prereqs::install"],
ensure => latest,
provider =>…
Tom Purl
- 549
- 1
- 3
- 13
6
votes
1 answer
Ansible - pip3 install fails
I am trying to install Ansible on CentOS 7, and have Ansible configured to use Python 3. I've both Python2 and Python3 installed.
[root@ansible1 ~]# python --version
Python 2.7.5
[root@ansible1 ~]# python3 --version
Python 3.6.8
If I install…
JeremyCanfield
- 373
- 2
- 9
- 17
5
votes
2 answers
Ubuntu 20.04 minimal: "Unable to locate package python-pip"
Launching some small VMs in GCP and thought I would give Ubuntu 20.04 LTS minimal a try. After doing an "apt update; apt upgrade" I'm able to install packages like Apache, but having zero luck with PIP:
root@ubuntu-rr58:/home/me# apt install…
John Heyer
- 181
- 2
- 8
4
votes
1 answer
Python 3.6.3 virtual environment issue in CentOS7 - "Error: Could not connect to Docker (is it running?)"
I have a virtualenv issue in my CentOS7 VM:
Checking for virtualenv...
Activating virtual environment /home/crimson/venv/python3
/home/crimson/venv/python3/myvra.json matches /home/crimson/venv/myvra.json
/home/crimson/venv/python3/myvrni.json…
KidACrimson
- 320
- 1
- 10
- 24
4
votes
1 answer
Installing certbot - error - "nothing provides pyparsing"
I'm trying to set up let's encrypt on my Amazon ec2 RHEL nginx server, via the command $ sudo yum install certbot-nginx but it keeps failing:
$ sudo yum install certbot-nginx
Last metadata expiration check: 2:58:11 ago on Sat 17 Aug 2019 11:29:45 PM…
Mike Willis
- 193
- 1
- 14
4
votes
1 answer
linux binary strip error when using pip install: Not enough room for program headers, try linking with -N
When using strip on certain object files in Amazon Linux, it errors with:
$ sudo strip dfitpack.so
BFD: st6qqyd2: Not enough room for program headers, try linking with -N
strip:st6qqyd2[.note.gnu.build-id]: Bad value
The object files are created…
Emmet Murphy
- 43
- 3
4
votes
1 answer
How do I tell if a Python pip install is working correctly or hanging?
I am trying to install the python pandas package in a virtualenv using pip.
On my development machine it installed correctly, but now I am trying on the server, it gets so far then it seems to get stuck:
…
wobbily_col
- 643
- 2
- 7
- 14