execute the venv module, which is part of the Python standard library.
crating test-project folder
% cd test-project/
Creating an environment called venv
% python3 -m venv venv/
For activating the venv on Windows:
C:> \Scripts\activate.bat
installing the requirements of the project with:
pip install -r requirements.txt
You can deactivate a virtual environment by typing “deactivate”
you can Remove virtual environments using rm:
rm -r your_ENV
Top comments (0)