Questions tagged [pip]

Questions regarding the use of pip, a package installer for Python.

pip is a package installer for Python, which allows one to easily install various Python packages, such as from PyPI. pip works in addition to the package manager which is already installed on the system for all other kinds of packages.

Installation and uninstallation are commonly handled by the following commands, respectively:

  • pip install package-name
  • pip install package-name

For more information, see the following links:

648 questions
28
votes
8 answers

Unable to uninstall programs using sudo pip

I looked this up online but they're all suggesting using sudo command I used sudo pip uninstall numpy I get this message: Not uninstalling numpy at /usr/lib/python2.7/dist-packages, outside environment /usr I installed it using pip , not apt…
momo12321
  • 381
6
votes
1 answer

What does pip install mean?

I am installing this https://github.com/wkentaro/pytorch-fcn. It tells me to do this instruction. git clone https://github.com/wkentaro/pytorch-fcn.git cd pytorch-fcn pip install . What does pip install . mean ? Which folder or file am i running by…
Kong
  • 1,241
3
votes
0 answers

pip not working error: TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

I need to install at root using pip. I don't want to use virtualenv because I want to instal 'qiime' for any users of the system. e.g. sudo pip install qiime but pip gives me the errors below. I get the same error whatever pip install I try. sudo…
suze1992
  • 63
  • 1
  • 4
2
votes
5 answers

pip: AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

With pip on Ubuntu 14.04, I am getting this error: Traceback (most recent call last): File "/usr/bin/pip", line 9, in from pip import main File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 21, in from…
queez
  • 41
2
votes
1 answer

Cannot install matplotlib

pip cannot install matplotlib. Why won't it work? It just hangs when I do pip install matplotlib. Collecting matplotlib Using cached matplotlib-1.5.1.tar.gz The workaround to finally get it installed was to download the archive from sourceforge.…
1
vote
2 answers

"Could not find a version that satisfies the requirement lbcapi (from versions: )" when trying to install via pip

When I try to install the PyPI module lbcapi (sudo pip install lbcapi), I encounter the following message: Collecting lbcapi Could not find a version that satisfies the requirement lbcapi (from versions: ) No matching distribution found for…
1
vote
1 answer

Cannot install packages properly with pip

100% noob here. Second day using Linux. Using Ubuntu 16.04. When executing sudo pip install numexpr I got the message as follows: The directory '/home/ark/.cache/pip/http' or its parent directory is not owned by the current user and the cache has…
Ark
  • 21
1
vote
0 answers

How to use pip's version of ipython?

I had a system ipython notebook installed on my Ubuntu 14.04 via apt-get. To upgrade the notebook to the newest version, I ran sudo pip install ipython[notebook] -U This installed version 3.0.0 of ipython. But when I run ipython, the old version…
Valentas
  • 988
  • 9
  • 17
1
vote
0 answers

How can I restrict which users on a server can use `pip`?

Our IT is concerned about any user installing malicious packages by accident. At the moment we have two primary virtual environments for our applications, which only privileged users can modify. But I would be concerned that users might want to set…
raphael
  • 506
  • 2
  • 5
  • 18
1
vote
2 answers

Can't get pip3.10 to work directly in Ubuntu

I'm getting this: $ pip3.10 pip3.10: command not found Now, I have python3.10 installed correctly: $ python3.10 --version Python 3.10.10 And I have installed pip within it: $ python3.10 -m pip Usage: /usr/bin/python3.10 -m pip
yi1
  • 121
1
vote
1 answer

What can make "pip3" to get uninstalled

I was working on Flask project and I'm pretty sure I started creating in the current machine only and have build from the scratch by installed Flask under virtual environment, using "pip install Flask". But after some days, now I tried to install…
learner
  • 571
1
vote
1 answer

invoice2data: command not found

I installed invoice2data using this command: pip install invoice2data But when I write "invoice2data" in terminal, It shows this error: invoice2data: command not found Is there any way to use it in ubuntu 18.04.2? My current Python version is 3.6
1
vote
1 answer

pip3 installation error

vishwas@vishwas-Inspiron-15-3567:~$ pip3 install cv2 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 33, in vendored __import__(vendored_name, globals(), locals(), level=0) ImportError: No…
0
votes
1 answer

Software installation with pip3

I installed software using pip3 but funny thing is I can't seem to find it. I went to dash and typed the name of the software and nothing came up. I've used pip3 a lot with Flask but this software isn't related to Flask and don't know where to find…
0
votes
2 answers

no module named packaging.version

I installed Ubuntu 14.04 yesterday and installed pip by the command sudo apt-get install python-pip, later when I am trying to install other packages through pip or trying to check the pip version, I am getting the following error. Traceback (most…
1
2