The Real Python Podcast

Tools for Setting Up Python on a New Machine


Listen Later

There are many ways to get Python installed on your computer. If you were going to start fresh, what tools would you use? What if you need to manage multiple versions of Python and virtual environments? What about all the additional tools that make your coding workflow complete? This week on the show, Calvin Hendryx-Parker is here to talk about bootstrapping your Python environment.

Calvin is the co-founder and CTO of Six Feet Up and a Python Web Conference co-organizer. As a consultant, Calvin has set up countless machines to run Python. He configures environments that can scale from in-office projects to distributed cloud-based applications.

We cover tools for installing Python, managing multiple language versions, and configuring virtual environments. Calvin talks about setting up command-line applications in isolated environments. We also discuss traveling with Python on an iPad.

Course Spotlight: Start Managing Multiple Python Versions With pyenv

In this step-by-step course, you’ll learn how to install multiple Python versions and switch between them, including project-specific virtual environments, with ease with pyenv.

Topics:

  • 00:00:00 – Introduction
  • 00:02:42 – Giving talks at IndyPy
  • 00:03:12 – Calvin’s talk “Half a Dozen Ways to Fail at Python”
  • 00:07:41 – Advice on installing Python using Homebrew and pyenv
  • 00:11:48 – The consistency of using a Docker container
  • 00:18:49 – Creating virtual environments and installing packages
  • 00:21:51 – Sponsor: ScoutAPM
  • 00:22:38 – Creating requirements.txt files and moving from pipenv to piptools
  • 00:30:54 – Paying attention to security issues and your software supply chain
  • 00:34:19 – The goal of making a repeatable developer build experience
  • 00:39:30 – Video Course Spotlight
  • 00:40:47 – Using pipx to set up CLI code tools
  • 00:44:52 – Using bpytop to monitor performance
  • 00:46:41 – Tools for using Python on the iPad
  • 00:53:06 – Python Web Conference
  • 00:56:08 – Moving your dotfiles across multiple machines with chezmoi
  • 01:02:22 – Thanks and goodbye
  • Show Links:

    • Half a Dozen Ways to Fail at Python – YouTube
    • calvinhp/2019 WaysToFailAtPython – GitHub
    • Calvin Hendryx Parker - Bootstrapping your Local Python Environment – YouTube
    • calvinhp/2021 BootstrappingYourLocalPythonEnvironment – GitHub
    • Six Feet Up: Python web application development and cloud management services
    • Homebrew: The Missing Package Manager for macOS (or Linux)
    • Chocolatey - The package manager for Windows
    • Python 3 Installation & Setup Guide – Real Python
    • Your Python Coding Environment on Windows: Setup Guide - Real Python
    • Managing Multiple Python Versions With pyenv – Real Python
    • A quick-and-dirty guide on how to install packages for Python
    • Why you should use “python -m pip”
    • pypa/pipenv: Python Development Workflow for Humans.
    • pip-tools · PyPI
    • safety · PyPI
    • Production-ready Docker packaging for Python developers
    • pipx: Install and Run Python Applications in Isolated Environments
    • bpytop: Resource monitor that shows usage and stats - PyPI
    • Episode #272 The tools episode - Python Bytes Podcast
    • Road Warrior Developer – YouTube
    • 5 Ways To Use Python On An iPad
    • Advanced Visual Studio Code for Python Developers – Real Python
    • chezmoi: Manage your dotfiles across multiple diverse machines, securely
    • Python Web Conference 2022 — Python Web Conf 2022
    • Level up your Python skills with our expert-led courses:

      • A Beginner's Guide to pip
      • Installing Python on Windows, macOS, and Linux
      • Start Managing Multiple Python Versions With pyenv
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        136 ratings


        More shows like The Real Python Podcast

        View all
        Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

        Software Engineering Radio - the podcast for professional software developers

        272 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        283 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        41 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        592 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        624 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        269 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        298 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Data Engineering Podcast by Tobias Macey

        Data Engineering Podcast

        142 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        982 Listeners

        DataFramed by DataCamp

        DataFramed

        266 Listeners

        Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

        Kubernetes Podcast from Google

        181 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        189 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        64 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        52 Listeners