Via pipenv or pip

Use pip to install and update py-stellar-base:

pip install -U stellar-sdk

The py-stellar-base release follows Semantic Versioning 2.0.0, and I strongly recommend that you specify its major version number in the dependency file to avoid the unknown effects of a corrupt update. More on installing Python and dependencies can be found over in the Hitchhiker’s Guide to Python.

Via Source Code

Please use the code on pypi whenever possible. The latest code may be unstable.

You can clone the repository directly, and install it locally:

git clone
cd py-stellar-base
git checkout 6.0.0
pip install .