Build the Python libraries like this:
pip3 install -U fetchai-ledger-api
Or, download and install the Python library which interacts with a running ledger node.
git clone [email protected]:fetchai/ledger-api-py.git -b release/v0.9.x
Make sure you are on the latest release branch in order to have the latest features.
Install the library with the following command:
cd ledger-api-py/ python3 setup.py install
Find out how to build a smart contract using the Python API here.