how to create venv python3 mac code example
Example 1: create a virtualenv python
pip install virtualenv
cd projectfolder #go to project folder
virtualenv projectname #create the folder projectname
source projectname/bin/activate
Example 2: python virtual environment
python3 -m pip install --user virtualenv
Example 3: create virtualenv python3 mac
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"