The following are the steps to install the blockchain Python library:
- Open the command-line program on your computer.
- Run the pip install blockchain command to install the blockchain library.
The following screenshot shows the installation of bitcoin: