Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [pip]

pip is a Python package installer

0
votes
0answers
20 views

After updating pip gives an error

I want to install # pip install certbot-dns-rfc2136 #pip install --upgrade pip You are using pip version 7.1.0, however version 19.0.3 is available. You should consider upgrading via the 'pip install ...
-2
votes
1answer
22 views

Woes installing PIL

I get this error when I try to run my program. Traceback (most recent call last): File "green.py", line 11, in from PIL import Image ImportError: No module named PIL I already tried "pip ...
0
votes
0answers
21 views

python pip/pip3 defaults to --user behavior

I recently used pip install --user foo once and even though I did some other stuff, I can't imagine that any other command causes my pip install to use ~/.local/lib/python2.7/site-packages/ directory ...
1
vote
0answers
34 views

Switch pip from /usr/local/bin/pip to /usr/bin/pip

I m forcefully started pip from /usr/local/bin/pip by executing sudo python3 -m pip install -U pip command. Now I want to use pip from /usr/bin/pip to achieve this, I have rename the pip as /usr/...
1
vote
1answer
41 views

Problem with pip package installation in virtualenv environment

After creating python virtual environment virtualenv -p python3 venv and activating it source venv/bin/activate, i am trying to install python packages using pip command-> pip install Flask which ...
0
votes
0answers
41 views

Local Python Repository Packet Installation

I have a rhel server which I use as yum repository for my other servers. Now I need it to serve python packages as well. I found an anaconda repository to download packages: https://repo.continuum.io/...
0
votes
0answers
113 views

pip not working after installing another python version

My CentOS 6.5 machine already had Python 2.6 installed in it. Now I just installed Python 2.7. But now, pip is not working. Whenever I run any pip command, it shows following error- File "/usr/bin/...
0
votes
0answers
14 views

Python using deb em package and not pip empy

So I’m running ROS melodic and while running catkin_make I get an error in package conflict. Long story short, I want to use pip‘s empy package instead of em package, but the em package is loaded from ...
0
votes
1answer
208 views

pip install error: “SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed”

I am getting the following error when I try to do anything in pip. I have tired to upgrade pip as stated below and nothing. Any ideas? Collecting pip Exception: Traceback (most recent call last): ...
0
votes
1answer
119 views

tkinter error when trying to import matplotlib.pyplot in Arch Linux

I'm using Arch Linux with Gnome. I used pip to install matplotlib in my home directory: pip install --user matplotlib This seemed to work, and when I use Python I can successfully import matplotlib. ...
0
votes
2answers
159 views

How do I install pip on CentOS?

I'm using CentOS 7. I want to use Pip to install a virtualenv . So I installed Pip like so ... [laredotornado@server Python-3.7.2]$ sudo yum install python-pip httpd mod_wsgi [sudo] password for ...
0
votes
0answers
35 views

Trouble using/installing pip3

I would like to install pip for python 3. I check the following on my computer: which python3 python3 --version which return /usr/bin/python3 Python 3.5.2 Since, I already installed python3. I ...
0
votes
0answers
128 views

pip - fatal error: leveldb/db.h: No such file or directory

The usual answer to this is that I am missing leveldb from my system, however the python3-leveldb libleveldb-dev packages includede in Debian 9 are for python3.5 but I am using python3.7 I compiled ...
0
votes
0answers
213 views

how to install pip for python 2.7?

I followed the link @https://linuxize.com/post/how-to-install-pip-on-centos-7/#2-install-pip to install pip ,however its intalled for python 2.6 that comes with the system,how do I install it for ...
0
votes
1answer
283 views

Pip invalid syntax error in RHEL

I'm trying to use pip to install python packages on an RHEL instance but get this error when I try to run any pip command. Pip did previously work but all of a sudden (not sure what I did) it started ...
3
votes
1answer
37 views

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 ...
-8
votes
1answer
200 views

I HAVE TRY EVERY THING WITH THIS PIP BROKEN PROBLEM [closed]

every time in i have this problem i just copy my files and install a fresh copy of kali and work again to update the system and copy redownload the requirement for my application i don't know exactly ...
1
vote
1answer
30 views

Is it possible to cache pip downloads in a http cache server?

I have a virtual linux machine with python2 and pip installed. I want to save bandwidth by caching pip downloads in a http cache server and use this cache server in other machines. The functionality ...
1
vote
1answer
20 views

Install coccigrep on Ubuntu

Coccigrep (https://pypi.org/project/coccigrep/) seems to be a great tool to search through C code. However, when I install it using pip install coccigrep, it isn't found: > coccigrep coccigrep: ...
0
votes
0answers
220 views

pip install + get the errors about Retrying (Retry(total=4, connect=None, read=None, redirect=None))

we are trying to install the following Jinja ( on redhat machine version 7.2 ) pip install Jinja2-2.10-py2.py3-none-any.whl Processing ./Jinja2-2.10-py2.py3-none-any.whl Collecting MarkupSafe>=0....
1
vote
2answers
2k views

python-pip : ImportError: cannot import name main

I am using Debian 9.5 Stretch release. I am having import error while using pip. When I try using pip it says: However I can use python: I have two versions of python installed: 2.7 and 3.5 Output ...
1
vote
1answer
257 views

site-packages directory not found after installing pip3 with apt-get in Ubuntu WSL

I installed python 3 and pip into in Windows System for Linux shell, but it appears I have to find and specify site-packages directory manually if I want to run any python package executables. The ...
1
vote
1answer
332 views

Why does Python's pip reset to version 10.0.1 in every new virtual environment?

tl;dr: Why is pip's version reset to 10.0.1 every time I create a new virtual environment and not automatically cloned from my global 18.0 installation? Every time I create a new virtual environment ...
1
vote
1answer
4k views

How to resolve SSL Certificate Error while installing PIP?

When I'm trying to install PIP using the downloaded package from bootstrap.pypa.io, I'm getting SSL Certificate error. I've followed other posts and tried doing this by disabling the certificate check ...
-1
votes
2answers
240 views

What is the difference on a system level between installing python packages with yum as opposed to pip?

I'm wondering what the difference is between pip, the Python package installer, and yum? As a means of providing some context to my question: I assume the first answer will be because PIP is only ...
0
votes
1answer
2k views

Arch:pip: ImportError: cannot import name 'requests'

Some of my python packages installed with pip had conflicts with another package I tried installing using pacman. So I decided to uninstall all the packages installed with pip. I made a requirements....
1
vote
1answer
158 views

pypi server, setup for automatically downloading packages from client?

I created a private pip storage and share it through /var/www/html, client configured a pip.conf file with trusted-host and index-url configuration, everything works fine when I'm downloading the ...
0
votes
1answer
52 views

upgrading pyudev issue

I'm trying to update pyudev package from 0.15 to 0.16.x or higher, but the following message displays: $ sudo pip install pyudev 0.21.0 -U Collecting pyudev Using cached https://files.pythonhosted....
1
vote
1answer
39 views

Is there a way to restore an uninstalled executable from bin?

I tried upgrading pip3 using su -c 'pip3 install' --upgrade pip' because I got errors and it failed when trying to upgrade it as a normal user. This removed the pre-installed pip from /usr/bin and ...
0
votes
0answers
17 views

python pip: “type -a” shows more alternatives, how to change

I installed a side version of python following these nice how-to how-to-install-latest-python-on-centos python is fine, the centos 6.9 shipped version (2.6.6) is preserved : type -a python python ...
1
vote
1answer
45 views

Is it possible to save binaries that pip compiles while installing a package?

I'm working on a project for a Raspberry Pi 3. One of the things my project requires is cython. Running pip install cython on a Raspberry Pi inside of a virtualenv takes about 40 minutes to complete, ...
21
votes
5answers
2k views

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 ...
0
votes
2answers
1k views

pip says it is out of date but updating says it is the latest version!

If I try and do the following: pip --version I get this: Traceback (most recent call last): File "/usr/bin/pip", line 6, in <module> from pkg_resources import load_entry_point File "/...
1
vote
2answers
1k views

How to reinstall system python 2.7 on Linux Mint 18.3 WITHOUT reinstalling the OS?

On a clean install of Linux Mint 18.3 I ran the following commands through the terminal: sudo apt install python-pip pip install install --upgrade pip pip install future pip install six Now when I ...
1
vote
1answer
1k views

debian9 can't install python packages with pip3 or uninstall packages with apt

Hello I am a BIG linux noobie that using debian stretch I getting errors when I am trying to install packages or delete packages this is the error I get when I am trying to install packages with ...
3
votes
3answers
5k views

pip upgrade messed up python installation

I'm trying to install a python application I wrote on a freshly created Ubuntu 16.4 virtual instance. I need to install a number of python packages that I previously installed on my own PC. ...
2
votes
1answer
4k views

python easy_install or pip errors about sysconfig

somehow the installation of python is broken in my linux OEL 6.9. pip or easy_install are broken and I cannot do anything. i get the same error on both sides: # easy_install Traceback (most ...
2
votes
2answers
4k views

How to get pip3 without sudo privileges

I need to install pip3, but cannot do it without sudo privileges which I don't have. I have tried wget https://bootstrap.pypa.io/get-pip.py but that gets me the other version of pip.
0
votes
0answers
150 views

Python trace back: import aiml

Looking to run an AIML chatbot: thufir@dur:~/python-aiml-chatbot$ thufir@dur:~/python-aiml-chatbot$ pip install python-aiml Collecting python-aiml Downloading https://files.pythonhosted.org/...
2
votes
1answer
301 views

pip freeze lists packages uninstalled through pip, then reinstalled through Pacman

Because I've heard that it's a very bad idea to install packages through pip instead of through a package manager, I'm trying to identify all the packages that I've installed through pip that are also ...
1
vote
2answers
90 views

Find the difference between two list

I desire to compute the difference of two lists: $ pip list > package1.md Package Version ---------------------------------- --------- alabaster ...
0
votes
0answers
240 views

Pip3 broken on kubuntu 17.10 because of PyInstaller?

So, I'm trying to use pip3 to install packages. It worked fine yesterday, but for some reason it won't work now. The package python3-pip is installed, but when I try to run pip3, it tells me to ...
3
votes
1answer
2k views

AttributeError: module 'lib' has no attribute 'X509_up_ref'

No matter what module I try to install via pip3 install I always get the same error : AttributeError: module 'lib' has no attribute 'X509_up_ref' Have no idea how to solve this one. Anyone had this ...
0
votes
0answers
49 views

Which and whereis fail to find command?

Why is it sometimes that which and whereis fail to find a command? e.g. $ awswl -bash: /Users/geoffrey/Library/Python/2.7/bin/awswl: No such file or directory $ which awswl $ whereis awswl $ I ...
1
vote
1answer
305 views

Installed Electrum does not start and now Electrum-Ltc no longer works - update python/urllib3?

I Installed electrum following the instructions from https://electrum.org/#download Install dependencies: sudo apt-get install python3-setuptools python3-pyqt5 python3-pip Install Electrum: sudo ...
0
votes
1answer
65 views

Why do so many packages need to be upgraded when I only specify one to apt-get

I use ALT Linux 6, and I need to launch a Python 3 script which uses OpenGL and openCV, I realized that pip is absent in my Python installation which is already dumb), then somehow I figured that pip ...
0
votes
1answer
257 views

pip3 - 'not a supported wheel on this platform' error

I am trying to install SIP through pip3 (which is required to install PyQt5). pip3 search SIP show that there is a package named SIP (4.19.8) - extension module generator for C and C++ libraries. ...
0
votes
1answer
524 views

Installing packages from pip3 always failed because of unknown version

Linux raspberrypi 4.9.78-v7+ #1084 SMP Thu Jan 25 18:05:49 GMT 2018 armv7l GNU/Linux I am on Raspbian Jessie and I had to install python 3.6.4 from source (apparently that is the only way). Then as ...
0
votes
1answer
3k views

Install pip3 for Python 3.6.3 only

I freshly installed Linux Mint 18.3 on my laptop. Mint 18.3 ships with default Python version 3.5.2. Since, I need to work in Python3.6.3, I grabbed a tar ball from Python.org and installed it with ...
1
vote
2answers
2k views

Installing python 3 on CentOS 6.9 without sudo [closed]

Python 3 installation exits without installing zlib and pip. How can I fix this? edit 2: I cannot use sudo. edit: I followed this guide. After running 'make' the installation exited with: ...