Stack Exchange Network

Stack Exchange network consists of 174 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

Questions tagged [pip]

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

0
votes
0answers
18 views

sudo causes pip error during python mysql connector install?

Attempts to install the python mysql connect via pip fail when sudo is used. What is the cause and remedy? user@host:~$ sudo pip install mysql-connector [sudo] password for user: Sorry, try again. ...
0
votes
2answers
30 views

Subprocess installed post-installation script returned error exit status 1 postinstall menu and mime types python

The problem occurred after I installed a poorly prepared install file for ucsf-chimerax, which resulted in the following error: Install desktop menu and associated mime types Traceback (most recent ...
0
votes
0answers
22 views

pip issue after Ubuntu upgrade from 16 to 18

Recently I upgraded my Ubuntu from 16 to 18. I faced a problem with pip command which I have been struggling for a few last days. The problem is that after the upgrade my pip3 used python2, i.e. I had:...
0
votes
1answer
27 views

Which command and alias for pip3.7

I created the following alias to run pip3.7 everytime I use pip command: pip='pip3.7' Now, bash says: pip -V pip 18.1 from /home/uname/.local/lib/python3.7/site-packages/pip (python 3.7) but, the ...
1
vote
2answers
38 views

On Ubuntu 16.04, pip is installing libraries to python 2.7

I'm new to Ubuntu and I'm trying to learn python. I use pyCharm IDE and python 3.5 but now when I'm trying to install libraries using the sudo pip command they are installing to python 2.7, so when I'...
0
votes
1answer
25 views

How can I use pip3?

If I try to use pip3 I see: $ pip3 --version Command 'pip3' not found, but can be installed with: sudo apt install python3-pip So I run: $ sudo apt install python3-pip Reading package lists... ...
0
votes
1answer
40 views

pip commands are not working

I tried running pip commands, for example: pip install tweepy. I'm getting these errors: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'idnadata.py' Consider ...
2
votes
1answer
29 views

Is it possible to avoid setting path manually for python package executables?

I installed python 3 and pip3 into in Windows System for Linux shell that uses Ubuntu, but it appears I have to find and specify site-packages or $HOME/.local/bin directory manually if I want to run ...
0
votes
0answers
38 views

Virtualenv Permission denied when trying python setup.py install

I want to use virtualenv with Python 3 on Ubuntu 18.04. Specifically, I'm using Python 3.6.6 and virtualenv 16.0.0. I installed virtualenv with sudo as suggested in the answers here: sudo pip3 ...
0
votes
1answer
71 views

Installing pip for python 3.5

I am using Ubuntu 18.04 and it had python 3.6.5 by default. I wanted python 3.5.2 for a project so I downloaded it alongside python3.6, but now the problem is I can't download pip for python 3.5.2 . ...
0
votes
1answer
130 views

Unable to correctly install pip3 using apt-get

I am using Ubuntu 16.04, and was experiencing issues with my pip3. Specifically, when I attempted to uninstall a package via sudo pip3 uninstall I encountered Traceback (most recent call last): ...
0
votes
0answers
32 views

Messed up python install

~$ python -V Python 2.7.15rc1 ~$ python3 -V Python 3.6.5 I don't know what came default with Ubuntu but I'm sure I did install python from the website, and also pip. I don't remember any of it. How ...
1
vote
1answer
248 views

“Errno 13 Permission denied” for pip and anaconda

I was trying to update anaconda by: conda update conda it returns: PermissionError(13, 'Permission denied') Then I found out that the same happens for pip: pip install --upgrade pip returns: ...
-1
votes
1answer
48 views

E: Unable to locate package Pyaml

(ankit0) ankit@ankitG-PC:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/demo$ sudo apt-get install Pyaml Reading package lists... Done Building dependency tree Reading state ...
0
votes
2answers
285 views

/usr/local/bin/python3: No module named pip Error on or near line 85; exiting with status 1

I am installing Intel OpenVINO Toolkit in which I configure the model optimizer. (ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/...
1
vote
1answer
73 views

`pip3 search <pkg_name>` shows version that it refuses to install

pip3 search aiohttp produces (among other things): aiohttp (3.3.2) - Async http client/server framework (asyncio) INSTALLED: 2.3.10 LATEST: 3.3.2 Nevertheless, pip3 install --upgrade --user ...
0
votes
3answers
67 views

python package manager - avoiding conflicts with apt-get

Having just read this comment on upgrading pip, I ran: sudo pip3 install --upgrade pip As @ByteCommander points out, the upgrade goes to /usr/local/bin/pip3, while the distribution's version (from ...
0
votes
0answers
36 views

I cannot install Django==2.1 from my requirements in ubuntu18.04 for windows

Using Ubuntu 18.04 Collecting django==2.1 Could not find a version that satisfies the requirement django==2.1 (from versions: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, ...
0
votes
0answers
23 views

Ignore Dependency APT

Python package PIL in apt was renamed from python-imaging to python-pil So I tried installing it like this: apt install python-pil dpkg --ignore-depends=python-imaging -i pyload.deb However now ...
0
votes
0answers
27 views

Installing pip is giving problem

I typed sudo apt-get install python-pip. After that when I check pip --version it shows: Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import ...
1
vote
1answer
583 views

What does pip install <dot> 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 ...
0
votes
0answers
71 views

How to uninstall a package which were installed by pip?

I have a package installed with pip. when I try to uninstall it, it only removes one certain module. How can I remove all other dependencies with it. my package is MSNoise when I try pip uninstall ...
0
votes
2answers
147 views

Using pip3 with sudo permission problem in Ubuntu 16.04

I have Python3 and Python2 and also pip and pip3 for various python version package installation. I want install a ZMQ library in Python 2 and 3, I did it in python2 as well with the following line: ...
2
votes
0answers
440 views

How do I use pip with Python 3.6 on Ubuntu 14.04?

I am trying to install Python 3.6 as per this answer, but I seem to be having troubles. My system is the following (it's on c9.io): $ lsb_release -a No LSB modules are available. Distributor ID: ...
0
votes
1answer
276 views

How do I restore pip after upgrade from ver 9 to ver 18 on Ubuntu 18.04 Desktop Vm?

I started with pip ver 9, and after reading a blog how to upgrade, I ran following which seems to have broken pip: # pip install --upgrade pip This installed pip ver 18 !! Successfully installed ...
0
votes
0answers
59 views

YAPF formatter for Python code [duplicate]

I installed YAPF formatter for Python code. Installation was successfull, no errors. Python 2.7.12 pip install yapf Can't figure out how to run it: when run yapf -h, I get error 'unknown command'. ...
-1
votes
1answer
130 views

trouble installing pygame on ubuntu 16.04 LTS

I had a hard time installing pygame on my ubuntu 16.04 LTS. I use python 3. these are the steps I took to install pygame: 1.first I installed pip: sudo python3 get-pip.py this is the output of ...
0
votes
1answer
233 views

How to update virtualenv from Python 3.5 to 3.6 on AWS with requirement.txt?

I am having a trouble to deploy my Django project due to Python version differences, so I want to update its version on AWS (16.04.4). I currently have a virtual environment with Python 3.5, so I am ...
0
votes
1answer
1k views

pip3 reinstall on Ubuntu 18.04

Recently I have faced with the issue that on Ubuntu 18.04 pip3 does not work properly: :~$ pip3 install jinja2 Traceback (most recent call last): File "/home/redra/.local/bin/pip3", line 7, in <...
0
votes
1answer
115 views

Can I install Python 2.7 and pip on snappy Ubuntu Core 16.04?

This does not seems to answer the question: What is the recommended way to install pip on Snappy Ubuntu Core? It appears that Ubuntu Core 16.04 only has Python 3. How do I get Python 2 if there is no ...
0
votes
0answers
1k views

Can not import torch

I have installed pytorch using following command pip install --user torchvision But When I try to import it I am getting error Traceback (most recent call last): File "<stdin>", line 1, ...
0
votes
0answers
230 views

Problem installing jupyter notebook

I'm trying to install jupyter notebook using pip command in ubuntu 16.04. python3 and pip latest version are already installed in my machine. so when i run : $ pip install jupyter I'm seeing this ...
0
votes
0answers
100 views

pip uninstall “destination path already exists” error

I am trying to uninstall dynet (a python 2.7 library) using sudo -H pip uninstall dynet, but I get the following error: Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/...
0
votes
1answer
111 views

Errors with cajarename package when installing some python modules on ubuntu 18.04

I was trying to install python polygon module on Ubuntu 18.04. I simply use:- pip install Polygon2 But then i get errors like:- cajarename 17.3.28 requires caja, which is not installed. cajarename ...
0
votes
2answers
2k views

After running “pip install --upgrade pip” pip tells me the same thing

While install a package: .................... You are using pip version 8.1.1, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Ok: $ ...
0
votes
1answer
371 views

problem installing tensorflow

I tried installing tensorflow using pip by: sudo pip install tensorflow But it is giving the following error: ......... Installing collected packages: enum34, grpcio, pbr, funcsigs, mock, ...
0
votes
0answers
74 views

Openstack installation error on Ubuntu 16.04

I got the following error while installing open stack can any one help me out? inc/python:pip_install:359 env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=...
1
vote
0answers
50 views

Location of installed software in Ubuntu [closed]

I am trying to make sure I understand exactly where packages are installed on Ubuntu. Here is what I currently understand (correct me if I am wrong)" Packages on Ubuntu can be installed: 1) With ...
1
vote
1answer
267 views

Pip not working

I am currently trying to install some packages via pip, for some Python development, and I keep coming to these errors. I already tried to disable the firewall, but the error persists. Any idea of ...
1
vote
1answer
188 views

upgrading youtube-dl error

My question is similar to the following, but it does not completely address the problem I am facing: How can I update youtube-dl? I have first tried this: sudo youtube-dl -U which gives the output: ...
0
votes
1answer
42 views

What is the proper way to install an application with the Python packet manager (pip)?

I'm wondering if there is a standard way to install python applications with pip (without using sudo) to get it to work globally? Example: I want to install a command line journal application with ...
0
votes
0answers
36 views

Issues while setting python3 as default python on Ubuntu 16.04 [duplicate]

I completed the steps mentioned here: https://askubuntu.com/a/892343/841394. When executing sudo python3.6 get-pip.py I get: Traceback (most recent call last): File "get-pip.py", line ...
0
votes
0answers
177 views

Upgrading pip3 messed my computer

I've installed pip and pip3 using $sudo apt install python-pip$ $sudo apt install python3-pip $ and i've installed a few packages. I had to rebuild python3 .Since then i can't use the ...
0
votes
1answer
168 views

matplotlib error : MatplotlibDeprecationWarning

from matplotlib import pyplot as plt /home/rishabh/.local/lib/python2.7/site-packages/matplotlib/colors.py:680: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version ...
0
votes
1answer
925 views

Python matplotlib - ImportError: No module named functools_lru_cache

I have installed matplotlib for Python using pip which was completed without error. Yet I get this error when I try to import it: import matplotlib Traceback (most recent call last): File "<...
1
vote
1answer
413 views

pip install creates directory in site-packages but not in bin directory

I want to install a python-package (celery) within a virtualenv using pip. My virtualenv is activated, and after executing pip install celery the directory venv/lib/python3.6/site-packages/ has ...
2
votes
0answers
41 views

python and pip not in sync

I installed ubuntu16.04 today and automatically went and installed python from their website. Now I have python3.5 preinstalled in usr/bin and python3.6 installed in usr/local/bin. When I type in ...
0
votes
0answers
55 views

Problem installing plyr package

I'm trying to install lyvi (command line lyrics viewer) from here. So during installing plyr which one of the dependencies I got that issue: Collecting plyr Downloading https://files....
0
votes
1answer
485 views

Problem in installing pip in Ubuntu 16.04⠀

Problem in installing pip in Ubuntu 16.04 . It installed correctly I guess, but when I checked through pip -V then it shows this error: anshul@ANSHUL:~$ sudo apt-get install python-pip Reading ...
0
votes
0answers
143 views

Can't install gevent-psycopg2 in Ubuntu 16.04

crdv@crdv-pc:~/openerp$ pip install gevent-psycopg2 Collecting gevent-psycopg2 Using cached https://files.pythonhosted.org/packages/72/11/aa122be6a3bdbc7d16752c5e6771b362ca7ebaef0f52113e036062dd2c12/...