This page here has been created for the latest stable release of Salvus. You have chosen to view the documentation for another Salvus version. Please be aware there might be some small differences you have to account for.
Starting from version 0.12.12, Salvus is available for Python 3.7 and 3.9. This page explains how you can upgrade your Salvus installation to Python 3.9.
If you want to keep a backup of your old Salvus environment you can first clone it and then delete the original one:
conda create --name salvus-py37 --clone salvus conda remove --name salvus --all
Once this is done, please follow the usual installation instructions to create a new environment.
Make sure to use the 3.9 version when downloading the environment yaml file:
curl https://mondaic.com/environment-py39.yml -o environment.yml
Python 3.9 in the interactive menu of the Salvus downloader.
Once the new environment is installed with Python 3.9 you can reinitialize all
salvus-cli init-site <NAME>, and everything should run as usual.
All tutorials on the website are tested with both versions of Python and do not need any changes. Likewise, we do not except any changes to your scripts and workflow will be necessary when switching to a newer version.