Skip to content

Instantly share code, notes, and snippets.

Avatar

Duong Huu Phuc duonghuuphuc

View GitHub Profile
@duonghuuphuc
duonghuuphuc / install-virtualenvwrapper-on-macos-10.15-and-later.md
Created Jun 12, 2022
Install virtualenvwrapper on macOS 10.15 and later
View install-virtualenvwrapper-on-macos-10.15-and-later.md

Install virtualenvwrapper on macOS 10.15 and later

At WWDC 2019 on June 3, 2019, starting with macOS Catalina (10.15), the macOS will use zsh as default shell across the operating system. Besides, Bash is still available along with the new zsh; however, by setting zsh as the default shell, Apple does force you to move to the new platform.

virtualenvwrapper is a set of extensions to the original virtualenv which is a tool for creating isolated virtual Python environments. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies. According to the virtualenvwrapper docs, there are some noteworthy features such as:

  • Organizes all your virtual environments in one place.
  • Wrappers for managing your virtual environments (create, delete, copy).
  • Use a single command to switch between environments.
@duonghuuphuc
duonghuuphuc / install-python3-on-macos-10.15-and-later.md
Created Jun 12, 2022
Install Python3 on macOS 10.15 and later
View install-python3-on-macos-10.15-and-later.md

Install Python3 on macOS 10.15 and later

This tutorial will show you how to install Python3 on a macOS system. To demonstrate the installation process, I will present the steps on macOS Catalina (Version 10.15). Instead of installing Python3 via the installer from the Python website, this tutorial will use brew which is the most popular Package Manager for macOS.

1/ Install brew

Installing brew on your system is straightforward, you just need to copy-and-paste the following command to the Terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"