Setup for Mac
It's is encourage to install virtualenv and virtualenvwrapper to manage
Step 1: Install Python
Install Homebrew ( Mac User ) - Homebrew
Execute the following command inside terminal
The script will download homebrew and install in your mac environment. Once the installation is done, run the following command in your terminal to install python3
Install Python
after install python3, we will need to link python3 to our PATH. Run the following command to link
Step 2: Install VirtualEnv & VirtualEnvWrapper
Run the following command to install the libraries
Since python 2.7 comes with mac os, without the superuser access, we can't install any libraries into the OS directory. Therefore, we will need to execute with sudo
Enter your mac password and allow it to install
Step 3: Link VirtualEnvWrapper with Terminal
In order for us to use the command from virtualenvwrapper, we will need to link the bash script to our terminal. Run the following command to link the bash file
How to use VirtualEnv - click here
Last updated
Was this helpful?