Installing PyDance
First update your Raspberry Pi’s software in a Terminal:
sudo apt-get update
sudo apt-get upgrade
Install PyGame onto your Raspberry Pi:
sudo apt-get install python3-pygame
Download the PyDance program files:
wget https://icculus.org/pyddr/pydance-1.1.0.zip
Unzip the files:
unzip pydance-1.1.0.zip
Move into the PyDance directory:
cd pydance-1.1.0.zip
Install the library and a dependency:
python setup.py install
sudo apt-get install gettext
You will need to use super user permissions for the next part, so change the super password:
sudo passwd root
Type raspberry each time.
Now make the install using the superuser password you just created:
su -c 'make install'