User avatar
Posts: 235
Joined: Sun Aug 19, 2012 11:19 am
Location: Cambridgeshire, UK
Contact: Website Twitter

Updating the Astro Pi Python module

Wed Jun 10, 2015 11:34 pm

To find out which version of the Python module you have, run the following from the command line:

Code: Select all

python3 -c "import astro_pi as ap; print(ap.__version__)"
python -c "import astro_pi as ap; print(ap.__version__)"
You'll find the latest version at

To update your version, run:

Code: Select all

sudo pip-3.2 install astro_pi --upgrade
sudo pip install astro_pi --upgrade
Former RPF staff. Author of gpiozero and creator of piwheels.

Return to “Astro Pi”