virtual environment python mac code example
Example 1: virtual env create python
sudo apt-get install python3.6-venv
python3 -m venv env
source env/bin/activate
py -m pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
Example 2: virtual environment mac
1.
virtualenv venv
2.
source venv/bin/activate
Example 3: how to set up python virtual environment
pip install virtualenv
virtualenv dataengineer_pipeline
python -m venv dataengineer_pipeline
dataengineer_pipeline/bin/activate
dataengineer_pipeline\Scripts\activate.bat
deactivate
Example 4: how to make virtual environment
virtualenv mypython
Example 5: create virtualenv python3 mac
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"