Questions tagged [pip]
PIP is a tool for installing and managing Python packages. This topic covers issues installing packages from repositories with PIP.
106
questions
0
votes
1
answer
65
views
Python PIP not working after upgrade
How do I fix this? I was trying to upgrade my Python to 3.10.2 which works fine. However, pip is throwing errors.
These are the steps I followed to upgrade:
#Downloaded new version and Extracted ...
0
votes
0
answers
68
views
Use pip cache for docker builds
I want to install python packages within docker containers.
Since the build of some packages is time-consuming and sometimes fails, I want to use a cache that is reused.
I found the mount type cache ...
1
vote
1
answer
1k
views
(raspberrypi) ImportError: Unable to import required dependencies: numpy
I use raspberrypi 4 ; 32 bit, linux run python
error occur:
ImportError: Unable to import required dependencies: numpy
Original error was: libcblas.so.3: cannot open shared object file: No
such file ...
0
votes
1
answer
95
views
(raspberry pi 4) instead of pip install all the function (like pandas and json), but we can still use them in script import
system: raspberry pi 4 model B, 32bit, linux run python
Is a dumb question, I was planning to read data from MongoDB to excel' and also read excel toMongoDB'. Overall the .py scrip/code is fine and ...
0
votes
1
answer
513
views
Can't install PyBluez2 on Raspbian
Title - I can't install pybluez2:
bluetooth/linux/bluez/btmodule.c:20:10: fatal error: btmodule.h: No such file or directory
20 | #include "btmodule.h"
| ^~~~~~~~~~~~
...
0
votes
1
answer
2k
views
How to install pip2 on Raspbian bullseye? [closed]
I cannot use pip2 on my raspberry pi. I have Raspbian installed. More information of the version of raspbian I run:
soldy@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (...
0
votes
0
answers
303
views
pybluez bad install
Yesterday I installed my Raspberry Pi OS Lite (Debian Bullseye) using Raspberry Pi imager on my Mac. Everything in the most straightforward, up-to-date version.
Today I began working with Python. ...
1
vote
0
answers
1k
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
328
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 ...
1
vote
1
answer
459
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 ...
6
votes
2
answers
7k
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 ...
-1
votes
1
answer
107
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 ...
0
votes
0
answers
92
views
Pip hangs on Ubuntu 21 Raspberry Pi 4
Tried a few times and it can hang for the whole night.
0
votes
0
answers
231
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=...
2
votes
1
answer
730
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/...
1
vote
0
answers
1k
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 ...
-1
votes
1
answer
236
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 ...
-1
votes
1
answer
654
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....
-1
votes
1
answer
131
views
Can turicreate python library be installed on raspberry pi?
Recently I am trying to install turicreate library on my Rraspberry Pi 3 model B+ by following all the required steps to be done for installation for operating systems like Ubuntu which is similar to ...
0
votes
1
answer
4k
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 ...
0
votes
1
answer
58
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 ...
0
votes
0
answers
37
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 ...
-1
votes
1
answer
2k
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 ...
2
votes
2
answers
486
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(...
1
vote
2
answers
618
views
Issue when installing python-package virtualenvwrappe
I am new to Linux and Raspberry Pi, so I am sorry if this is a trivial question or if I did not mention some important information.
To my problem:
I have a fresh install of Raspbian Stretch on a ...
2
votes
1
answer
558
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 ...
2
votes
2
answers
7k
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 ...
0
votes
1
answer
1k
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?
0
votes
2
answers
505
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;
...
0
votes
1
answer
291
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 ...
0
votes
1
answer
761
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 ...
1
vote
2
answers
521
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 ...
4
votes
1
answer
4k
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 ...
4
votes
1
answer
6k
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, ...
0
votes
0
answers
3k
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 ...
4
votes
1
answer
546
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 ...
0
votes
0
answers
49
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 ...
2
votes
1
answer
1k
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 ...
-1
votes
1
answer
6k
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
...
2
votes
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 ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
574
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: ...
2
votes
2
answers
2k
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 ...
0
votes
1
answer
352
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-...
1
vote
1
answer
63
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 ...
0
votes
0
answers
197
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 ...
2
votes
1
answer
1k
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
...
0
votes
0
answers
91
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 ...
8
votes
1
answer
11k
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 ...