Installing C Python

Chocolatey Install of C Python

These instructions serve as an alternative to the Anaconda installation instructions, which you can use if the installation fails. There is no need to install it both ways.

  1. Download and install python from https://www.python.org/downloads/
    • use default settings

Package install steps

In Windows, you need to add add an item to the system %PATH environment variable in order to add pip to the system PATH

  1. open up windows explorer (windows+e)
  2. right click on “this pc” and select “properties”
  3. click on “advanced system settings” in the “related links” section
  4. click on “environment variables”
  5. The dialog that pops open has two windows. In the top window, scroll down to see if you can find an entry for “Path”. If so, “edit” the path. If not, create it by selecting “new”.
  6. Add C:\Users\<USERNAME>\AppData\Local\Programs\Python\Python<VERSIONNUMBER>\Scripts to the list of folders
    1. replace with your user name
    2. replace with your version number
    3. the final example should be something like C:\Users\danaukes\AppData\Local\Programs\Python\Python313\Scripts
  7. also add C:\Users\<USERNAME>\AppData\Roaming\Python\Python<VERSIONNUMBER>\Scripts
    1. replace with your user name
    2. replace with your version number
    3. the final example should be something like C:\Users\danaukes\AppData\Roaming\Python\Python313\Scripts
  8. hit ok and close all the windows
  9. test this by opening a new powershell window (windows+x, then “terminal” or i)
  10. type
    pip install --user esptool thonny
    
  11. once complete, type thonny to open thonny.