Questions tagged [pip]

PIP is a tool for installing and managing Python packages. This topic covers issues installing packages from repositories with PIP.

Filter by
Sorted by
Tagged with
0 votes
0 answers
69 views

No module named RPi.GPIO even though it's installed

When running code import RPi.GPIO as GPIO import MFRC522 import signal continue_reading = True # Capture SIGINT for cleanup when the script is aborted def end_read(signal,frame): global ...
user avatar
  • 95
0 votes
1 answer
79 views

pip cannot install anything. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

I have just set up my new raspberry system. However, my pip cannot install anything. Keep showing 'WARNING: pip is configured with locations that require TLS/SSL, however, the SSL module in Python is ...
user avatar
  • 1
0 votes
0 answers
91 views

Raspberry Pi can't install any packages with pip

So the other day, while trying to install a pip package for a project, I noticed that I was getting error messages. I tried anything that I could think of, even uninstalling python and pip, and ...
user avatar
0 votes
1 answer
123 views

How to enable SPI and access RFID RC522 Chip on Alpine Linux

I've set up Alpine on a Raspberry Pi 3B in diskless mode and it runs exceptionally smooth. I've managed to address GPIO pins (e.g. to read from temperature sensors) without much effort. Now I'm trying ...
user avatar
5 votes
2 answers
1k views

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 ...
user avatar
  • 155
-1 votes
1 answer
40 views

where can I see the change logs for the raspbian buster repositories

Pip3 was broken after I performed an update today, I saw what I think were two releases within hours of each other, the second changed the behaviour of pip3 but it was still broken. Is there a way to ...
user avatar
0 votes
0 answers
32 views

Pip hangs on Ubuntu 21 Raspberry Pi 4

Tried a few times and it can hang for the whole night.
user avatar
0 votes
0 answers
55 views

PIP3: Install Offline & Update Older Library

Tried these commands to install an uncompressed package with pip3: pip3 install --no-index --find-links=/home/pi/Downloads/GitHub/cryptography cryptography sudo pip3 install -U --no-index --find-links=...
user avatar
  • 21
0 votes
1 answer
383 views

How do I use NumPy and Pandas in my virtual environment?

I'm using Raspberry 4 to host a web service with FastAPI. In my code, there's a dependency on Pandas. When I ran the web service, it gives me the error message below: File "/home/pi/Projects/...
user avatar
0 votes
0 answers
664 views

Failed building wheel for pandas on model 3B+

I'm trying to install pandas in a Python virtualenv on a RPi model 3B+, but its wheel fails to build. Pandas does however successfully build/install for the system Python (py3.7.3, pip 18.1). Could ...
user avatar
  • 101
0 votes
0 answers
339 views

pip3 error, "ModuleNotFoundError: No module named 'pip._vendor.pkg_resources'" on any attempted use

On any attempted use of pip3, I get a frustrating cascade of errors, the heart of which seems to be ModuleNotFoundError: No module named 'pip._vendor.pkg_resources' I did some copy/paste of solutions ...
user avatar
-1 votes
1 answer
92 views

python3 ModuleNotFoundError: No module named 'SpeechRecognition'

I am trying to use this module, but it always says that its not installed. I am trying to run the file with python3 and installed it with pip3. pip3 list shows it. No idea why it doesn't work. import ...
user avatar
-1 votes
1 answer
465 views

Python says its 3.8.0, but can only download python 2.7.0 packages. (Pip pointing to wrong python version?)

I am trying to install tensorflow 2.3.1 onto my pi, I currently have 0.11.0 installed. If I try to upgrade I get the following message: Looking in indexes: https://pypi.org/simple, https://www....
user avatar
0 votes
1 answer
91 views

Can turicreate python library be installed on raspberry pi?

Hello all, Recently I am trying to install turicreate library on my raspberry pi 3 model B+ by following all the required steps to be done for installation for operating systems like Ubuntu which is ...
user avatar
  • 1
0 votes
2 answers
2k views

How to install PySide2 on RaspberryPi?

i use this command to install PySide2: $ pip3 install pyside2 and i get this error: ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none) ERROR: No matching ...
user avatar
0 votes
1 answer
42 views

FruxePi Installation fails on RPI W

I've been trying to install FruxePi (https://github.com/fruxefarms/FruxePi), both 0.3 & 0.4 versions. But To my understanding the setuptools / pi fails to install, but I can't imagine a way to ...
user avatar
0 votes
0 answers
24 views

I cannot use wget or pip without encountering connection errors after following tutorial

I followed these access point instructions (lines of commands and file edits) tutorial, and now whenever I use wget or pip, connection errors are thrown. These were the instructions I followed: sudo ...
user avatar
0 votes
1 answer
1k views

Cannot uninstall wrapt 1.10.11

I am trying to install Tensorflow 2.3 on the raspberry pi 4 2GB using this guide (https://itnext.io/installing-tensorflow-2-3-0-for-raspberry-pi3-4-debian-buster-11447cb31fc4) but I keep getting the ...
user avatar
1 vote
1 answer
226 views

I cannot install opencv

I just bought a new camera for my pi so I installed it and then I wanted to test it out so I got a simple python program to test it: import cv2 as cv def testDevice(source): cap = cv.VideoCapture(...
user avatar
  • 11
1 vote
2 answers
516 views

Issue when installing python-package virtualenvwrapper

I am new to Linux and Raspberry Pi, so sorry if this is some trivial question or if I did not mention some important information. To my problem: I have a fresh install of Raspbian Stretch on a ...
user avatar
  • 11
1 vote
1 answer
243 views

Cannot pip install adafruit-circuitpython-mlx90640

I am trying to install adafruit-circuitpython-mlx90640, a library for the MLX90640 thermal camera. When I run sudo pip install adafruit-circuitpython-mlx90640 I get an error that no matching ...
user avatar
  • 173
1 vote
2 answers
3k views

Python3 Pip Not Working on My Pi

So I was having some trouble with python package incompatibilities. I was tired of troubleshooting and decided that I would remove all of the packages that I had installed using pip3. In an attempt ...
user avatar
0 votes
1 answer
805 views

sudo apt-get install python3-pip not working

Getting 404 Not found when trying to install python-pip3. Error persists even after update and upgrade. Any idea?
user avatar
  • 1
0 votes
2 answers
321 views

Jupyter notebook installation fail using pip3

I've just setup a Raspberry Pi 3B+ with the latest Raspberry Pi OS image (all tools). I'm trying to install Jupyter on it using the command 'sudo pip3 install jupyter' and I get the following errors; ...
user avatar
0 votes
1 answer
207 views

Messed up something with Python 3/pip3/Miniconda 3 Installation and Linked Directories

So I'm not exactly sure what I did but I was trying to upgrade from Python 3.4.3 (Miniconda 3) to Python 3.8.x and somewhere along the way I ended up deleting a folder or symbolic link. My main issue ...
user avatar
  • 101
0 votes
1 answer
414 views

Installing Python Modules globally using pip

I'm doing a Udemy course using Python, and I recently created a fresh copy of Raspian for my Raspbery Pi 3B+. I have attempted to install the module pyfiglet, and used the terminal command sudo pip ...
user avatar
  • 3
0 votes
2 answers
313 views

If I connect to my Pi via SSH and install a python package using pip, will it continue to install if I end the SSH connection?

I'm currently trying to install pandas on my raspberry pi, which I've connected to using an SSH connection, using pip. This is taking a long time, and my laptop has gone to sleep (ending the ssh ...
user avatar
3 votes
1 answer
3k views

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 ...
user avatar
2 votes
1 answer
4k views

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, ...
user avatar
  • 231
0 votes
0 answers
2k views

How t o install Pandas into the raspberry pi?

I'am trying to install pandas using pip install pandas and I get the following error Exception: Cython-generated file 'pandas/io/sas/sas.c' not found. Cython is required to ...
user avatar
4 votes
1 answer
369 views

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 ...
user avatar
  • 141
0 votes
0 answers
46 views

pip3 broken / can't install httpie

I'm running Raspbian GNU/Linux 8 on a Pi Model B Plus Rev 1.2 (according to cat /proc/cpuinfo) I have python3-pip installed. I tried the following (with & without sudo): pip3 install httpie But ...
user avatar
2 votes
1 answer
849 views

Can't find python pip on newly installed Buster on my old model B

Anyone else using python and pip on Buster lite? Pip is not working for me on my old dual usb Model B. Just seems to be missing. I tried installing it using the "get-pip.py" module from the official ...
user avatar
  • 65
-1 votes
1 answer
5k views

Why is there an ssl problem after installing python 3.8.1

Hello i'm using a Raspberry pi running Raspian Jessie. I've tried updating the python version to 3.8.1 and it seems I'm having troubles running pip with it. After i enter this line in terminal ...
user avatar
1 vote
0 answers
4k views

Updating python version3.6 to python 3.8.1

currently, my raspberry pi runs python versions 2.7 and 3.6 [by default] and version 3.8.1 [I'm trying to update the current version] This causes a lot of trouble when I try to install a new package ...
user avatar
2 votes
1 answer
1k views

Error Installing TensorFlow on Rasperry Pi 3 B

I'm following this guide to create an AI chatbot which requires Python 3.6, TensorFlow etc. So I installed Python 3.6.8. To install TensorFlow I tried sudo pip install tensorflow I also downloaded the ...
user avatar
2 votes
1 answer
324 views

Installing pip3 mysqlclient results in error

I have tried a few different ways to get this installed. mysqlclient and also tried pip install MySQL-python both result in error. pi@raspberrypi:/ $ pip install MySQL-python Looking in indexes: ...
user avatar
2 votes
2 answers
1k views

Unable to Install NumPy on Raspberry Pi 3

I'm installing NumPy on a Raspberry Pi 3 using pip. When I type in pip install numpy into the SSH bash terminal, pip starts collecting and downloading NumPy. But when it runs the setup.py file, it ...
user avatar
  • 302
0 votes
1 answer
291 views

Python exception when installing docker-compose

I have tried installing docker-compose on my jessie dist sudo pip3 install docker-compose However it encounters an exception Downloading/unpacking docker-compose Downloading docker_compose-1.24.1-...
user avatar
1 vote
1 answer
57 views

Pandasql on Raspbian?

Has anyone successfully installed the Python pandasql package on their Raspberry Pi? sudo apt-get install pandasql Gives the following results: Reading package lists... Done Building dependency ...
user avatar
  • 133
0 votes
0 answers
164 views

import dlib fails

I want to use with OpenCV the library dlib, I installed in my virtual environment. I'm sure because with pip list appears: (Thesis_env) pi@raspberrypi:~/Environments $ pip list Package ...
user avatar
  • 210
2 votes
1 answer
813 views

Got compilation error when installing plyvel

I got an error while trying to install plyvel on my raspberry (pi 3 B+) with sudo pip install plyvel : Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting plyvel ...
user avatar
  • 33
0 votes
0 answers
83 views

install pymc3 on raspberry

I would like to install pymc3 on my raspberry pi 3 model b+ for my hobby project. But installing pymc3 by pip took forever and it was never able to finish installing. It there any other way to install ...
user avatar
  • 101
8 votes
1 answer
9k views

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 ...
user avatar
3 votes
3 answers
7k views

can't install opencv on my pi

I'm an absolute Raspberry Pi newbie. My intention is to get some camera vision project working for which I need OpenCV3.3's dnn Python module. I've found here a description of how OpenCV can be ...
user avatar
  • 131
1 vote
1 answer
572 views

pip install is giving weird errors on a RPI 3B+ with rasbian

If I try to install something using pip it gives me a weird error. Time is set correctly and sudo doesn't change anything. For example I try installing conan pip install conan​ gives an error: pi@...
user avatar
  • 125
1 vote
2 answers
308 views

Rasp Pi, pip error setup.py egg_info

I am new to pi and I wanted to test it out on a python module for talking to building automation devices. Its called BAC0 From the documentation: https://bac0.readthedocs.io/en/latest/getstarted.html#...
user avatar
  • 205
2 votes
1 answer
440 views

Can not install Svgtools. Probably because off SciPy and numpy

I was tring to install PocketVj using this guide from the Github page. I installed all the dependencies using sudo apt-get install... with no problems. Followed by sudo pip install --upgrade pip again ...
user avatar
1 vote
2 answers
23k views

pip cannot confirm SSL certificate: SSL module is not available

I am trying to install openCv for Python 3.6 on my Raspberry Pi 3 Model B+, but somehow it won't connect to the python.org website. I have pip installed for 2.7, 3.0, and 3.6 installed, so when I go ...
user avatar
-1 votes
2 answers
104 views

Install libraries from computer

I'm currently searching a tool to install on a Raspi libraries, but from a computer. SSH can be a solution but I'm searching a tool where you can see the installed package and the one that can be ...
user avatar