The Real Python Podcast

Tools for Setting Up Python on a New Machine

5 snips
Mar 11, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Leave The System Python Alone

  • System Python is for the OS and should be left untouched to avoid breakage.
  • Beginners commonly cause long-term messes by installing packages into the system interpreter instead of per-user environments.
INSIGHT

Multiple Pythons Cause Hidden Breakage

  • Multiple install methods lead to opaque environments and 'works on my machine' problems.
  • Knowing PATH and virtual environment state is essential to avoid accidental cross-contamination.
ADVICE

Use A User-Level Package Manager

  • Install tooling with a user-level package manager instead of using sudo or system Python.
  • Use Homebrew (mac/Linux) or Chocolatey (Windows) to avoid root installs and keep environments isolated.
Get the Snipd Podcast app to discover more snips from this episode
Get the app