Upgrading your client version

Terality recommends that you keep your client up-to-date, you can do so very easily in a single command.

To benefit from the newest features, improvements and fixes, Terality recommends keeping your client up-to-date.

When you import Terality, the client will automatically check if you're running the latest version, and will notify you if a later version exists.

You can update your client in two easy steps:

  1. First, upgrade the Terality package

  • from your terminal, by running:

pip install terality --upgrade
  • or from your notebook, by running in a notebook cell (note the leading exclamation mark)

! pip install terality --upgrade

2. Then, restart your notebook kernel or Python interpreter.

If you are using Python virtual environments, you need to run the upgrade command in the same virtual environment that's hosting the Python interpreter or notebook.

Terality might occasionally include breaking improvements that make older clients incompatible. In such cases, you will receive an error when you try to run a computation saying that the version you're running is no longer supported, such as:

Your client version 0.12.29 is outdated, please upgrade terality to the latest version  . 

In this case, please update your client to the latest version, as specified above.

Last updated