Search This Blog

Tuesday, September 23, 2025

Python Virtual Environment - venv

 check which gives python v 10

******************************

python --version

py --version

python3.10 --version


To create Python 10 Virtual Environment

windows

1. <python/py> -m venv pyV10Env //to generate that version venv

2. .\pyV10Env\Scripts\activate.bat

3. py --version

4. python --version

5. //all set go, use ur py commands

6. deactivate


linux

1. <python/py> -m venv pyV10Env //to generate that version venv

2. source nse_env/bin/activate

3. py --version

4. python --version

5. //all set go, use ur py commands

6. deactivate

 

Hit Counter


View My Stats