Installing Python & Soft Potato¶
If you want to run Soft Potato locally on your own computer—offline, in VS Code, or in JupyterLab—follow this minimal setup guide.
1. Install Python (3.10 or Newer)¶
- Download the latest Python installer from python.org/downloads.
- Important: Check "Add python.exe to PATH" at the bottom of the first installer screen, then click Install Now.
-
Open Command Prompt or PowerShell and verify:
- Download the macOS installer from python.org/downloads (or install via Homebrew:
brew install python). -
Open Terminal and verify:
2. Create a Virtual Environment & Install Soft Potato¶
Using a virtual environment keeps Soft Potato's dependencies isolated from other Python projects on your machine.
Optional: Jupyter Notebooks Locally
If you also want to run .ipynb notebooks locally, install JupyterLab in the same environment:
3. Verify Your Installation¶
Run this one-liner in your activated terminal:
You should see the installed version number (e.g. 3.4.1).
Next Steps¶
- First Simulation (CV) — simulate and plot a cyclic voltammogram in 5 minutes.
- Analytical Baselines — compute Cottrell, Levich, Randles–Ševčík, and SECM curves.
- Fitting Experimental Data — extract \(D\), \(RG\), and \(d_{\text{offset}}\) with 95% confidence intervals.