Questions tagged [pip]
Questions regarding the use of pip, a package installer for Python.
649
questions
1
vote
0
answers
4k
views
how to use sudo pip3 install --target to install package and recognize the dependencies
I want to use pip3 to install rise package. I use the command
sudo pip3 install rise
Then the rise package is installed in /usr/local/lib/python3.5/dist-packages and print out:
Collecting rise
...
10
votes
4
answers
28k
views
Pip is not installing on bash on ubuntu
I recently updated my windows and install bash on ubuntu on windows 10.I use the command sudo apt-get install python-pip
2
votes
1
answer
241
views
Can't use sniffer (Python auto-testing tool)
I'm running python3 on Xubuntu 16.04.
I installed sniffer (Python auto-testing tool) with
$ pip3 install sniffer
I also installed pyinotify with
$ pip3 install pyinotify
When I try to run
$ ...
0
votes
1
answer
2k
views
Upgrade python 3.4.3 to 3.5.1, problems with Pip
I'm trying to upgrade my python version.
I was able to download and install python 3.5.1 and set his alias to python4
root@test:/# python4
Python 3.5.1 (default, Dec 18 2015, 16:31:51)
[GCC 4.9.2] ...
0
votes
1
answer
3k
views
Not able to use the latest version of Python Library Six
I have just installed the newest version of python library six using pip, which is 1.10.0. However when I try to print out the version in ipython, using six.version, I get "1.5.2". You can also see ...
5
votes
1
answer
10k
views
changing paths for pip
I have some problems with pip, and found a solution here:
it is suggested to change a line in any of these files:
~/.pypirc or $PIP_INDEX_URL or pip.conf
Problem is, I can't find any of these ...
1
vote
0
answers
171
views
gcc use wrong command
I install pycryptodomex, is a C-base python library. When install processing run into C build step. It throws a error.
running build_ext
warning: no support for Intel AESNI instructions
building '...
-2
votes
2
answers
62
views
I want to know about package managers in Ubuntu [closed]
I have searched on internet but am unable to find complete solution of this question.
What is difference between pip, npm and bower in Ubuntu and is there any other package manager for any other ...
2
votes
1
answer
697
views
Issues while installing edx-dl package with pip
I wanted to bulk download some lecture from YouTube and edX, so I took a look at the project here:
https://github.com/coursera-dl/edx-dl
I am using Python 3.4.3 as suggested in the above link
$ ...
65
votes
6
answers
83k
views
Is `sudo pip install` still a broken practice?
I'm new to Ubuntu, so please bear with me. I installed pip using this command: sudo apt-get -y install python-pip. Then I installed NLTK using the command on their website, which was: sudo pip install ...
0
votes
1
answer
282
views
installing pip with two versions of python
I have a system running an old version of default that did not support pip, I also have Python 2.7.11
I followed the steps here
but whenever I run the command:
python get-pip.py
I receive the ...
0
votes
2
answers
4k
views
Python 3.5 is unable to access packages installed with pip3 like django
I have both python 2.7 and python 3.5 installed on my Ubuntu 16.04 LTS. I have also installed python3-pip to be used for installing external packages to python 3.5.
Using pip3 I have installed django ...
1
vote
1
answer
99
views
What are the best known methods for installing programs or scripts for current user only?
Looking for a good (easy, intuitive) way to deploy my Python scripts to users in our lab. Found that pip install --user installs the stuff into ~/.local/bin - but this directory is not in PATH in ...
4
votes
1
answer
36k
views
Can't import installed packages in python
I installed pip (pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)). My python version is 2.7.
I installed pygame by apt-get install python-pygame and got a success message. But when I try ...
1
vote
2
answers
11k
views
No module named 'encodings' after upgrading to 16.04
Hi I upgraded my Ubuntu to 16.04 but whenever I try to run a Python program or pip install (both Python 2.7 or Python 3.5) I get the following error:
ImportError: No module named 'encodings'
55
votes
3
answers
186k
views
"fatal error: openssl/opensslv.h: No such file or directory" compiling mitmproxy
I'm trying to install the mitmproxy package via pip like this:
$ sudo pip install mitmproxy
It terminates with following error message:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -...
8
votes
1
answer
25k
views
Not uninstalling paramiko at /usr/lib/python2.7/dist-packages, outside environment /usr
I am trying to upgrade paramiko on Ubuntu 16.04 4.4.0 with pip 8.1.1:
pip install -U paramiko
...
Installing collected packages: idna, setuptools, enum34, pycparser, cffi, cryptography, paramiko
...
4
votes
1
answer
19k
views
Problem installing pip: pip command not found
Having problems installing pip and not sure why can someone help me find out why the pip is returning -bash: pip: command not found?
$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.5/bin:...
3
votes
1
answer
9k
views
Unable to install matplotlib using pip in Ubuntu 16.04
In Ubuntu 16.04 I am able to install almost every python package and library using pip except for matplotlib.
I use this command to install matplotlib pip install matplotlib
This gives the error: ...
1
vote
1
answer
3k
views
IndexError: list index out of range when installing iPython in Ubuntu 14.04
I am following this and I am getting:
gsamaras@gsamaras-A15:~$ sudo pip install "ipython[notebook]"
Downloading/unpacking ipython[notebook]
Downloading ipython-4.2.0-py2-none-any.whl (736kB): 736kB ...
1
vote
0
answers
177
views
Unable to install Pillow on Ubuntu 15.10
I m trying to install pillow via the command :
pip install pillow
on my Ubuntu machine but I repeatedly get this error:
command 'x86_64-linux-gnu-gcc' failed with exit status 1
How can I fix this ...
0
votes
2
answers
4k
views
setuptools must be installed to install from a source distribution
I am trying to install pywavelets lib
I gave a command pip install pywavelets
It gave me a error
setuptools must be installed to install from a source distribution.
Checking with this error I saw some ...
2
votes
2
answers
11k
views
python: pip install xmltodict fails
I would like to use Ansible on my ubuntu machine. I tried to use the ping module and it complains that it does not find the xmltodict python library. I thus wanted to install the missing module using ...
2
votes
1
answer
3k
views
No module named pygame
I have two Ubuntu VMs. On one of them, I can't seem to install PyGame. I've tried installing through various methods:
sudo apt-get install python-pygame
(Remove and reinstall pygame a couple times)
...
1
vote
2
answers
653
views
pip3 install timestring
I am trying to install timestring library into python3.5 on ubuntu 16.04 using the command: pip3 install timestring
Getting this error:
Exception:
Traceback (most recent call last):
File "/home/...
2
votes
1
answer
2k
views
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 ...
4
votes
1
answer
4k
views
"sudo pip" differs from normal "pip"
When I execute
which pip3
it points to
/usr/.../anaconda3/bin/pip3
However, when I run
sudo which pip3
the result is
/usr/bin/pip3
Where does this problem comes from and how do I achieve ...
6
votes
4
answers
32k
views
Ubuntu 16: pip install installs to python 3 instead of 2
I upgraded to Ubuntu 16.04. I know it came with only python 3 installed, but somehow python 2 got in there ( I guess as a dependency). That's ok because i would add it anyway. Both python versions are ...
2
votes
2
answers
3k
views
Installing pybloomfiltermmap version 0.3.14 via pip
I'm trying to install pybloomfiltermmap version 0.3.14 via pip
(it is on a virtual machine ubuntu 16.04)
sudo pip install pybloomfiltermmap==0.3.14
But I get an error and I don't know why or how to ...
2
votes
2
answers
3k
views
How to Install Pycosat in Ubuntu?
I run pip install pycosat but I get:
Downloading/unpacking pycosat
Downloading pycosat-0.6.1.tar.gz (59kB): 59kB downloaded
Running setup.py (path:/tmp/pip_build_masi/pycosat/setup.py) egg_info ...
2
votes
1
answer
2k
views
TensorFlow for Python 3 throws an error when installing on Ubuntu
Today I was attempting to install Google's TensorFlow for Python 3 without GPU. When I run the command:
sudo -H pip3 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-...
125
votes
3
answers
652k
views
installing pip3 (for python3) on ubuntu 16.04 LTS using a proxy
I have tried entering:
sudo apt install python3-pip
The error I get is:
$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... ...
1
vote
0
answers
375
views
sudo is not working properly
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If ...
0
votes
1
answer
919
views
Error code 1 installing PIL in a pyvenv with pip
I'm attempting to install PIL inside of a pyvenv (Python 3+), and it's failing with "error code 1". See the error below, or, after that, the full install log from the terminal:
Command "/home/eli/...
2
votes
1
answer
2k
views
How do I install matplotlib dependencies?
How can I easily install all the non-Python dependencies I require before I can pip install matplotlib?
19
votes
4
answers
50k
views
How to install the latest version of pip when I already installed the provided by Ubuntu?
In Ubuntu 16.04 when you do:
pip install --upgrade pip
you get:
Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You ...
1
vote
2
answers
4k
views
Can't upgrade pip for python3 [duplicate]
I have pip installed for python3:
$ pip3 -V
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)
If I try to upgrade to Version 8, this is what I get:
$ sudo pip3 install --upgrade pip
...
0
votes
1
answer
3k
views
can't install python modules using pip
I am trying to install python module "scrapy". I have pip 8.1 and python 3.4 installed . I have tried the following command in the terminal
sudo pip install scrapy
but i get this error
instead
I ...
5
votes
3
answers
24k
views
python hashlib fails to install pip
I have a script that depends on hashlib, but when I try sudo pip install hashlib I get this:
$ sudo pip install hashlib
Collecting hashlib
Downloading hashlib-20081119.zip (42kB)
100% |█████████...
0
votes
1
answer
2k
views
pip and apt-get install commands [duplicate]
I would like to ask what the command pip does? Does it install a new application? If the answer is 'yes', so why do we have to type "apt-get install" after using "pip"?
1
vote
1
answer
8k
views
Cannot upgrade pip behind proxy
I've tried all the suggestions in this other question, but it just isn't working for me: Unable to upgrade pip
I'm running Ubuntu 12.04, and was able to install pip 1.0 using apt, but that version ...
1
vote
0
answers
3k
views
pip use on Ubuntu 16.04
I installed python packages on Ubuntu Trusty using pip and was able to call the installed packages as expected, but on Ubuntu Xenial (installed in a virtual machine) I did the same thing using pip but ...
5
votes
1
answer
576
views
Add a python dependency to to a snap package
I am creating a snap app and I need to install a python dependency using
pip3 install <lib>
How can I do it using snapcraft?
Thanks
9
votes
5
answers
58k
views
Use pip with Python 3.5
I have a AWS Ubuntu instance where I manually installed Python3.5 (downloaded it, configured, and ran make, make install). Then I changed the symbolic link
sudo ln -fs /opt/python3.5/bin/python3.5 /...
4
votes
2
answers
2k
views
How to get pip functional again?
I ran into the issue below, while running pip trying to install rpyc. Even if i try to run pip without any arguments it still outputs the same error. Any help would be greatly appriciated, Thanks.
...
2
votes
1
answer
5k
views
pip3 install of jupyter issues: 'notebook' is not a Jupyter command
I'm running Ubuntu 16.04 and installed jupyter using pip3 install jupyter as described on the jupyter.org website.
The install appeared to work without issue. There were no missing zeromq references ...
1
vote
2
answers
4k
views
Error while installing pip for python2.7
I get this error while installing pip for python2.7:
$python get-pip.py
Collecting pip
Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
100% |████████████████████████████████| 1.2MB 294kB/s
...
1
vote
0
answers
2k
views
how to download a specific version of selenium with pip
I want to install selenium via a requirements.txt with pip.
So I put selenium==2.53.0 into my requirements.txt.
However, when I do pip install -r requirements.txt it says
Could not find any ...
3
votes
1
answer
14k
views
cache/pip disabled immediately after instalation of pip
I'm running Ubuntu 15.10. I installed Pyhon 2.7 through aptitude:
sudo apt-get install python
now I'm trying to install pip using this guide. I downloaded get-pip.py, then I tried:
sudo python get-...
1
vote
1
answer
2k
views
pip install --user means users cannot run application from Dash or terminal
I'm the developer of a Python GUI application. I'd like users of my application to be able to install the application using pip because not all of its dependencies have made it into Debian yet, and I ...