-
Notifications
You must be signed in to change notification settings - Fork 15
backwards compatibility
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.
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.pyIf 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.
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/installationIf 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.pyIf you don't get any warnings, remove custom-manifest.txt from your build directory and go back to the main branch with
git checkout mainYou should now be able to use the new scripts normally.
If the steps above didn't work, you can get support from our team by opening a discussion in our discussions page