Delta Docs
HomeContactStore
  • Delta Robotics Documentation
  • Hardware
    • ThermoFlex™
      • TF Node Controller
      • TF Mk.1 Muscle
    • AeroFlex™ (Coming Soon)
    • HydraFlex™ (Coming Soon)
    • NiTiNOL
      • Wire
      • Spring
  • Software
    • ThermoFlex™ Python API
    • Delta Client (Coming Soon)
    • Motor Cortex™ (Coming Soon)
  • Tutorials
    • ThermoFlex™
      • Getting Started with our Evaluation Kit
      • Uninstall ThermoFlex™ API
    • Projects
  • Learn
    • What is Nitinol?
    • How to Train Nitinol
      • Basic
      • Advanced
      • Electric
    • Further Research
  • Company
    • Licensing
      • Delta Robotics Open License v1.0
    • Terms of Service
      • Delta Robotics ToS v1
    • Privacy Policy
      • Delta Robotics Privacy Policy v1.0
    • Brand Kit
    • Press Kit
Powered by GitBook
On this page
  • Step 1: Uninstall the ThermoFlex™ Python Package
  • Step 2: Uninstall Python
  • Step 3: Clean Up Leftover Folders
  • Step 4: Remove Environment Variables
  • Step 5: Confirm It’s Gone
  • Next Steps

Was this helpful?

Edit on GitHub
  1. Tutorials
  2. ThermoFlex™

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 thermoflex Python package

  • Python 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 thermoflex

If you’re running a specific Python version (e.g. 3.11), use:

py -3.11 -m pip uninstall thermoflex

Run 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:

  1. Press Win + R, type appwiz.cpl, and hit Enter

  2. Scroll to any Python entries and click Uninstall


Step 3: Clean Up Leftover Folders

Remove any leftover files, caches, or manually installed versions:

Remove-Item "$env:LocalAppData\Programs\Python" -Recurse -Force
Remove-Item "$env:AppData\Python" -Recurse -Force
Remove-Item "$env:LocalAppData\pip" -Recurse -Force

You can also check for:

Remove-Item "$env:ProgramFiles\Python*" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "$env:ProgramFiles (x86)\Python*" -Recurse -Force -ErrorAction SilentlyContinue

Step 4: Remove Environment Variables

Python sometimes leaves behind entries in your system PATH. To clean those:

$envVars = [System.Environment]::GetEnvironmentVariable("Path", "User") -split ";"
$filtered = $envVars | Where-Object { $_ -notmatch "Python" -and $_ -notmatch "pip" }
[System.Environment]::SetEnvironmentVariable("Path", ($filtered -join ";"), "User")

Then, clear any custom variables:

[System.Environment]::SetEnvironmentVariable("PYTHONPATH", $null, "User")
[System.Environment]::SetEnvironmentVariable("PYTHONHOME", $null, "User")

Step 5: Confirm It’s Gone

Back in PowerShell, run:

where python

If it returns nothing, you’re fully clean.


Next Steps

PreviousGetting Started with our Evaluation KitNextProjects

Last updated 12 days ago

Was this helpful?

When you're ready, you can and follow our to set up your environment again — fresh and conflict-free.

reinstall Python
Getting Started Guide