# Installing Python on a Mac with pyenv and pyenv-virtualenv

DevFeed: [Installing Python on a Mac with pyenv and pyenv-virtualenv](<https://devfeed.tech/articles/the-right-way-to-install-python-on-a-mac-38843.md>)

Original publisher: [Read original article](<https://mettlesome.substack.com/p/the-right-way-to-install-python-on>)

Author: Raphaël Hoogvliets

Published: 2024-02-07T09:27:30Z

Content type: tutorial

Language: en

Sources: [Raphaël Hoogvliets](<https://devfeed.tech/sources/raphael-hoogvliets.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>)

Tags: [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [install](<https://devfeed.tech/tags/install.md>), [mac](<https://devfeed.tech/tags/mac.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

This tutorial recommends using pyenv with pyenv-virtualenv to install and manage Python on a Mac. It explains how pyenv supports multiple Python versions, project-specific version pinning, user-local installations, and isolated per-project dependencies.

## Source excerpt

Carefree and flexible Python use awaits you!