Uninstall ThermoFlex™ API
How to completely remove the ThermoFlex™ Python API and its Python runtime.
We get it, sometimes you just need a clean slate. Whether you're troubleshooting an issue or preparing a fresh install for your next big demo, here’s how to completely remove the ThermoFlex™ Python API and its Python runtime.
This guide walks you through uninstalling:
The
thermoflexPython packagePython itself
Any residual environment variables or cached data
⚠️ Note: These steps are intended for Windows users. Please run all commands from PowerShell with administrator privileges.
Step 1: Uninstall the ThermoFlex™ Python Package
If Python is still installed, open PowerShell and run:
pip uninstall thermoflexIf you’re running a specific Python version (e.g. 3.11), use:
py -3.11 -m pip uninstall thermoflexRun it again until it confirms the package is no longer installed.
Step 2: Uninstall Python
Option A: Uninstall via PowerShell
Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "Python*" } | ForEach-Object {
$_.Uninstall()
}This will attempt to remove all Python distributions registered with Windows Installer.
Option B: Uninstall via Windows UI
If the PowerShell method doesn’t find anything, you can:
Press
Win + R, typeappwiz.cpl, and hit EnterScroll to any Python entries and click Uninstall
Step 3: Clean Up Leftover Folders
Remove any leftover files, caches, or manually installed versions:
You can also check for:
Step 4: Remove Environment Variables
Python sometimes leaves behind entries in your system PATH. To clean those:
Then, clear any custom variables:
Step 5: Confirm It’s Gone
Back in PowerShell, run:
If it returns nothing, you’re fully clean.
Next Steps
When you're ready, you can reinstall Python and follow our Getting Started Guide to set up your environment again, fresh and conflict-free.
Last updated
Was this helpful?