PIP is a tool for installing and managing Python packages. This topic covers issues installing packages from repositories with PIP.
Questions tagged [pip]
108 questions
18
votes
5 answers
How do I install pandas on Raspberry Pi?
I'm trying to install Python Pandas on my Raspi and I'm finding strange errors.
~ $ pip install pandas
Downloading/unpacking pandas
Downloading pandas-0.13.1.tar.gz (6.1Mb): 6.1Mb downloaded
Running setup.py egg_info for package pandas
warning: no…
Jamie Bull
- 1,137
- 3
- 9
- 22
14
votes
9 answers
How to install latest Scipy version on Raspberry Pi
I currently have Raspbian OS
and I tried:
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
which worked fine but installed an old version (0.10)
And:
sudo apt-get…
Gerard Rovira
- 269
- 2
- 3
- 8
8
votes
1 answer
Installing libraries via pip is taking forever. Raspberry pi 3b+
I tried to install scipy using pip3 install scipy as well as sudo pip3 install scipy and it got stuck at Building wheel for scipy for 45 minutes. Same is the case for cython.
What is the fix or it just takes that long. numpy and other libraries like…
Tanmay Bhatnagar
- 193
- 1
- 2
- 6
6
votes
2 answers
Broken Python PIP install; What is the correct way to fix?
I have an install script that I've been using (and I swear it worked before on another Pi), but whatever I've done, it appears I have a broken install of pip, and I'm not sure how to fix it.
I tried several packages (pymodbus, simplejson), and both…
jhaagsma
- 181
- 1
- 6
6
votes
2 answers
Error installing RPi.GPIO in virtual environment
I am trying to create a virtual environment that can access GPIO pins. In order to do that, I need access to RPi.GPIO in the environment. I am unable to install that into the virtual environment. I managed to make it work by allowing the environment…
kimv
- 165
- 1
- 1
- 4
5
votes
1 answer
smbus Import Error
I'm trying to use the module 'smbus' on python3. I've downloaded it - when I try to download smbus, it says that smbus is up to date and installed. However, when I try to use it, it says the module is not found. I've found a similar problem with…
Issac Jacob
- 51
- 1
- 1
- 3
5
votes
2 answers
Can't install lxml
I'm making a bot for a wiki I'm setting up, and for it I need requests and lxml. However, when I do pip install lxml it gives me:
Command /usr/bin/python -c "import setuptools,…
Demosthenes
- 51
- 1
- 1
- 2
5
votes
1 answer
SimpleCV installation on Raspberry Pi
I want to install SimpleCV, a Python framework for computer vision, on my Raspberry Pi.
These are the steps I followed:
Step 1 - install dependencies
sudo apt-get install python-opencv python-scipy python-numpy python-pip
Step 2 - install…
Ajitha Thrakan
- 51
- 1
- 1
- 3
4
votes
2 answers
Pip3 install throwing error on raspberry pi 3 Raspbian-Jessie
I am trying to install a python 3 library on a raspberry pi 3 running Raspbian-Jessie.
sudo pip3 install LIBRARY
However, regardless of what library I try to install, I am getting this error:
Exception:
Traceback (most recent call last):
File…
Rushil Joshi
- 43
- 1
- 1
- 3
4
votes
1 answer
Can't install PyBluez
I have a PI3. I've tried installing pybluez with:
pip install pybluez
and
pip3 install pybluez
Both fail with:
Command /usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip-build-2yikecdn/pybluez/setup.py';
…
Damon
- 41
- 1
- 1
- 2
4
votes
1 answer
Failed RPi.GPIO installation on OS X
I am creating a server for the Raspberry Pi and I am partially writing the code using OS X. I need the RPi.GPIO module to make my script run, (even if I don't use it). After calling pip3 install RPi.GPIO I get following error:
/usr/bin/clang…
gonczor
- 141
- 1
- 4
4
votes
1 answer
Unable to pip install librosa in raspberry pi 3 model b+ (Raspbian stretch)
Respected people,
Attempt 1:
when I run the command,
pip3 install librosa
I am stuck here,
Running setup.py bdist_wheel for scipy ... \
It was taking more then 2 hours but it was still continuing the same, finally it was built , but i get a…
Sundar Santhanam
- 143
- 1
- 6
4
votes
1 answer
How to install radicale (CardDAV & CalDAV) on a headless RaspberryPi?
I want to install a server for CalDAV and CardDAV on my headless RaspberryPi and will use my answer below to make a guide which I will update as I go along. I had troubles installing pip for python3, using the browser to access a headless localhost…
bomben
- 319
- 1
- 3
- 13
4
votes
1 answer
Use raspberry python packages on non raspberry hardware
I would like to have the raspberry python3 pip packages (e.g. rpi.gpio, picamera) installed in non raspberry hardware (e.g. on my x86 Ubuntu based PC) so that tools like Visual Studio Code can provide helpful code completion while coding.
When I…
yannisf
- 141
- 1
- 4
3
votes
1 answer
Problems in upgrading pip packages
I am having some troubles with pipon the Raspberry.
These are the information about the OS:
piName@raspberry ~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7…
Francesco Boi
- 593
- 2
- 7
- 20