the below command to activate virtual environment venv – environment name tts-venv
source tts-venv/bin/activate
to create a python virtual environment – example python -m tts-venv
python -m environment-name
for creating virtual environment in windows the command to create virtual environment is same, but to activate the command is like below
tts-venv\Scripts\activate
for powershell the above command may not work and you may need to use activate.ps1
.\tts-venv\Scripts\Activate.ps1
Leave a Reply