set up python environment code example
Example 1: create a virtualenv python
pip install virtualenv
cd projectfolder
virtualenv projectname
source projectname/bin/activate
Example 2: python create virtualenv
pip install virtualenv
cd projectfolder
python -m venv ./venv
Activate.ps1
activate.bat
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: create new python environment
py -m venv env