MATH 314: Quick and Dirty Python Install

  1. Go to the installation page of the uv (by Astral) website.

  2. Copy the command for your approriate OS. Paste and run the into a terminal, command prompt, or powershell. Restart your terminal-like program.

  3. Make yourself a math314 directory somewhere on your machine, not in your Downloads folder. If possible, don't use spaces anywhere in the path to this folder.

  4. Back in your restarted terminal-like program, cd into your math314 folder, and run

    uv init .
    
  5. When 4. completes, run

    uv add matplotlib pandas numpy scipy plotnine jupyterlab
    
  6. When 5. completes, launch jupyter by running

    uv run jupyter lab
    
  7. From the wall of text output step 6. produces, find the url about halfway down, copy it, and paste it into your browser.

We'll work in jupyter notebooks for the vast majority of the time this semester. So you should get used to steps 6 and 7.