I found a great blockchain.py project on Github this week. The first challenge is the requirement for the very latest version of Python 3.6 or higher.
I found a the instruction and started work on a newly installed headless Raspberry Pi server.
Start by upgrading the build environemnt.
sudo apt-get update sudo apt-get install build-essential tk-dev libncurses5-dev sudo apt-get libncursesw5-dev libreadline6-dev libdb5.3-dev sudo apt-get libgdbm-dev libsqlite3-dev libssl-dev libreadline6-dev sudo apt-get libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev sudo apt-get libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev
Next, download the latest version and make python3.6.3
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz tar xf Python-3.6.3.tar.xz cd Python-3.6.3 ./configure --enable-optimizations make sudo make altinstall
Now to test