
The Real Python Podcast Tools for Setting Up Python on a New Machine
5 snips
Mar 11, 2022 Starting from a fresh machine, where do you begin? Explore Python installers, version managers, virtual environments, dependency tools, and Docker-based workflows. The conversation also detours into isolated command-line apps, performance monitoring, coding on an iPad, and ways to bring your favorite dotfiles along wherever you go.
AI Snips
Chapters
Transcript
Episode notes
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.
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.
Manage Python Versions With pyenv
- Use pyenv (pyenv) to install and manage multiple Python versions that belong to you.
- Pin the exact Python version per project so deployments match your development runtime.
