create venv python 3.8 code example
Example 1: creating venv python3
mkdir project_folder
cd project_folder
python3.7 -m venv myvenv
virtualenv myvenv --python=python3.7
source myvenv/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: how to create environment in python3.7
python3.7 -m venv <venv_name>
Example 5: activate venv
venv\Scripts\activate.bat
Example 6: creating a virtual environment in python 3.8
c:\>python -m venv c:\path\to\myenv