Brewpi arduino install error

I had my brewpi running for years but had it stored for a while and had to re-install BrewPi on the rpi.

I got through the whole setup but I get an error when I run sudo python updater.py --ask. I get the message: “This update script requires gitpython, please install it with 'sudo pip install gitpython”.

I tried running sudo pip install gitpython but I get the message: “Downloading/unpacking gitpython Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement gitpython No distributions at all found for gitpython Storing complete log in /root/.pip/pip.log”

I must be doing something wrong. I reformatted the card and started from scratch with the same result. Here’s the whole log from the time I started having issues:

Done installing BrewPi!


Review the log above for any errors, otherwise, your initial environment install is complete

You are currently using the password ‘brewpi’ for the brewpi user. If you wish to change thiasswd brewpi’ now, and follow the prompt

To view your BrewPi web interface, enter http://192.168.0.21 into your web browser

Happy Brewing!
pi@BrewPi ~ $ cd ~/brewpi-tools
pi@BrewPi ~/brewpi-tools $ sudo python updater.py --ask
This update script requires gitpython, please install it with 'sudo pip install gitpython
pi@BrewPi ~/brewpi-tools $ sudo pip install gitpython
Downloading/unpacking gitpython
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement gitpython
No distributions at all found for gitpython
Storing complete log in /root/.pip/pip.log

Did you ever find a solution to this issue? Running into the exact same scenario

Never figured it out. I don’t need the BrewPi now so it’s on the back burner for now. I’ll post if I come up with something.

I would start by upgrading all apt packages and pip. Or alternatively use the docker install and log into the container afterwards to switch to the legacy version.

I actually figured it out, it’s an issue with PyPI not allowing non-https for API connections. As a work around, you can use the following, replacing xxxx with gitpython in our case:

$ pip install xxxx -i https://pypi.python.org/simple/

Credit for answer: https://stackoverflow.com/questions/46967488/getting-error-403-while-installing-package-with-pip