Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

backwards compatibility

Alfonso edited this page May 3, 2025 · 4 revisions

The install.py and uninstall.py scripts have recently undergone important updates to make them safer and more robust. These updates also broke backwards compatibiliy, meaning that if you installed tudatpy using an older version of the install.py script, you might not be able to uninstall it using the new uninstall.py script. This page will show you how to fix this in just a couple of steps.

Steps

1. Try uninstalling normally

If you come from a recent version of tudat-bundle, there is a chance the new uninstall.py script will be backwards compatible with it. Try running:

python uninstall.py

If you don't get any output indicating that something failed, you can double check that the script worked by going to your build directory and checking that custom-manifest.txt is not present, and that the manifests directory does not exist or is empty. If that is the case, you should now be able to use the new scripts normally.

2. Uninstall using the old script

If the step above didn't work, you will now go back to the old version of the tudat-bundle, run the uninstall.py script, and then come back to the new version.

First, from the tudat-bundle directory, checkout the following branch

git checkout support/installation

If the branch is not present, run git pull and try again: that should fix it. This brings you to the old version of tudat-bundle. Now, run the uninstall.py script.

python uninstall.py

If you don't get any warnings, remove custom-manifest.txt from your build directory and go back to the main branch with

git checkout main

You should now be able to use the new scripts normally.

3. Still nor working? Contact us!

If the steps above didn't work, you can get support from our team by opening a discussion in our discussions page

Clone this wiki locally