Not every github Python project comes ready for use with pip/easy_install, but when you attempt to run it sometimes you'll quickly figure out the dependencies.

By running python app.py, from the initial errors it appears to depend on flask and weather-api, so this worked for me:

pip install --user flask weather-api
python app.py

Then it tells you to go to the local URL showing something like this:

Answer from jdonald on Stack Exchange
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
Installing GitHub repository - Raspberry Pi Forums
See the section headed Installation. Sorry, should've mentioned that I tried using those instructions but it doesn't work. The first line to prepare the environment ... bash: aclocal: command not found I have also tried this https://github.com/azzra/python3-wiimote/issues/7 using ... sudo pip3 install cwiid but ran into the same problem that's stated in the post.
🌐
GitHub
github.com › rpi-ws281x › rpi-ws281x-python
GitHub - rpi-ws281x/rpi-ws281x-python: Python library wrapping for the rpi-ws281x library · GitHub
This is the official Python distribution of the ws281x library: http://github.com/jgarff/rpi_ws281x · Most users should simply run: sudo pip install rpi_ws281x
Starred by 355 users
Forked by 109 users
Languages   C 88.4% | Python 10.3% | SWIG 1.3%
🌐
pytz
pythonhosted.org › RPIO
Welcome to RPIO’s documentation! — RPIO 0.10.0 documentation
The easiest way to install/update RPIO on a Raspberry Pi is with either easy_install or pip: $ sudo apt-get install python-setuptools $ sudo easy_install -U RPIO · You can also get RPIO from Github repository, which is usually a step ahead of pypi: $ git clone https://github.com/metachris/RPIO.git ...
🌐
PyPI
pypi.org › project › RPi.GPIO
RPi.GPIO · PyPI
pip install RPi.GPIO Copy PIP instructions · Latest version · Released: Feb 6, 2022 · A module to control Raspberry Pi GPIO channels · These details have been verified by PyPI · croston · These details have not been verified by PyPI · ...
      » pip install RPi.GPIO
    
Published   Feb 06, 2022
Version   0.7.1
🌐
GitHub
gist.github.com › 368bce9cc681c849b2e1
Raspberry Pi setup commands · GitHub
startx ifconfig sudo nano ... of sequence button" git push origin master sudo pip install feedparser sudo easy_install -U distribute sudo pip install RPi.GPIO cat <<! > raspi-gmail.py #!/usr/bin/env python import RPi.GPIO as GPIO, feedparser, ...
Top answer
1 of 4
4

The answers already provided do include all the necessary steps, just not in a single answer, so here goes (assumes you have already installed Git, which seems to be the case based on your question):

git clone https://github.com/vrai/fdspatch
cd fdspatch
make

This will report the warning about tempnam that you are already aware of, as stated elsewhere, this is a warning, not an error; the program will still run.

Let's prove the binary you have just built works, from the same fdspatch directory run:

./fdspatch

As we didn't provide any of the expected parameters, this will show the help file of the tool. If you're happy only being able to run this command from the fdspatch directory, there's no further action needed.

If you want to be able to run the fdspatch command from anywhere, you'll need to copy it to the systems binary directory (this IS documented on the project's github page, but the details are left to the reader...)

Assuming you're on the latest Raspberry Pi OS, this should work (again, assumes you are still in the fdspatch directory):

sudo cp fdspatch /usr/local/bin

You can then run the fdspatch command anywhere on the system.

All of the above has been tested and and shown to work on a RPi4 on latest Raspberryb Pi OS.

2 of 4
2

The readme provides the instructions for installing this:

To build fdspatch on a Unix style system (including Linux and OS X), simply run make. This will produce the fdspatch binary that can be copied to the system's standard binary directory if required.

Find elsewhere
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › using the raspberry pi › beginners
Installing software from GitHub - Raspberry Pi Forums
March 24, 2017 - Hi all, I'm hoping someone would be able to help with help on how to install software from Github. I have it on lubuntu on my PC, and would like it on my Pi. The software is gTranscribe, and the git is available at: https://github.com/innir/gtranscribe.git I just don't know how to do it not ...
🌐
Pi My Life Up
pimylifeup.com › home › how to install pip on the raspberry pi
How to install pip on the Raspberry Pi - Pi My Life Up
April 1, 2025 - $ pip install rpi-rotary-encoder error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
🌐
Waveshare
waveshare.com › wiki › Libraries_Installation_for_RPi
Libraries Installation for RPi - Waveshare Wiki
sudo su wget https://github.com/joan2937/lg/archive/master.zip unzip master.zip cd lg-master sudo make install # For more information, please refer to the official website: https://github.com/gpiozero/lg · #python2 sudo apt-get update sudo apt-get install python-pip sudo pip install RPi.GPIO sudo ...
🌐
Gitbook
longer-vision-robot.gitbook.io › raspberry-pi-full-stack › chapter-2.-getting-familiar-with-raspbian › 2.4-install-packages-from-source
2.4 Install Packages from Source | Raspberry Pi Full Stack
pip install git+git://github.com/xxxxx/packagename.git · install the package from source. From within the source directory, run command line python setup.py install. Previous2.3 Install Packages from RepositoryNextPart 2 - GPIO ·
🌐
Raspberry Pi
projects.raspberrypi.org › en › projects › using-pip-on-raspberry-pi
Using pip on Raspberry Pi
Under normal circumstances, you should only be using Python 3 and therefore pip3. You can install modules using the pip3 install command.
🌐
Linuxize
linuxize.com › home › git › how to install git on raspberry pi
How to Install Git on Raspberry Pi | Linuxize
March 3, 2026 - cd /usr/src/ GIT_VERSION="X.Y.Z" sudo wget "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" -O git.tar.gz · Extract the archive and change to the source directory: ... To update Git in the future, download the newer release archive from the releases page and repeat the build process. After installation, set your identity.
Top answer
1 of 4
63
sudo apt-get install python3-pip

This should install pip3 for managing Python3 libraries. If you're using rasbian that is.
python-pip is for Python2 (as of 2019-09-09) if you need that too.

pip and python are two separate entities. There for installing one doesn't necessarily mean the other will be installed.

Some good documentation on the matter can be found at raspberrypi.org

And others have asked the same question on the official forums.

Just remember, most "safe" distro's tend to default to Python2 for their LTS platforms pre 2020. Meaning you will have to essentially add python3-<lib> (the 3 being the crucial element here) to all your installations. Otherwise you'll most likely get the Python2 equivilant of the library/tool for as long as Python2 is the default python environment in your distro. Like in this case.

Again, I'm using Arch Linux ARM for the most part, so I'm not to familiar with debian/ubuntu/etc distro's for the RPi platform. But that package should be called about the same as in Arch :)

2 of 4
1

Even though Python3 install 'should' install the latest pip with it, in mho, it does not. If you have a previous version of Python it likely has the previous version of pip. To install the latest version after installing python3:

python3 -m pip install --upgrade pip

This could lead to issues with other python versions or other programs using previous pip version.

See here on resolving the issues: https://github.com/pypa/pip/issues/5599

On linux, you could use: sudo apt install python3-pip

🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › community › general discussion
pip command not found - Raspberry Pi Forums
Hello all, I am studying the book "Getting Started with Raspberry Pi", by M Richarson & Shawn Wallace. Chapter 9, Working with Webcams, page 114. I get this message "sudo: pip: command not found" after running the following command: pi@raspberrypi ~ $ sudo pip install https://github.com/ing...
🌐
GitHub
github.com › raspberrypi
Raspberry Pi · GitHub
February 17, 2026 - Raspberry Pi has 107 repositories available. Follow their code on GitHub.
🌐
GitHub
github.com › sn4k3 › FakeRPi
GitHub - sn4k3/FakeRPi: Develop for Raspberry PI on Windows or other sistems that don't have RPI.GPIO libraries.
With FakeRPi you can fix that and also benefits from code completion and some utilities. This is not an emulator of Rasberry Pi! pip install git+https://github.com/sn4k3/FakeRPi ·
Starred by 49 users
Forked by 6 users
Languages   Python 100.0% | Python 100.0%
🌐
Mryslab
mryslab.github.io › s3-extend › pip_update
Verifying/Install pip3 - Scratch 3 OneGPIO Extensions
If you are a Windows user or using Raspberry PI OS on the Raspberry Pi, pip should be available to you without any additional installation steps. However, you will need to make sure that you are using the latest version.