Install required version
bash
| |
Generate venv
Run in the specified directory
bash
| |
will be generated in the directoryvenvfolder
Activate virtual environment
MacOS|Linux
bash1source venv/bin/activateWindows
bash1venv\Scripts\activate
After activation you will see the command line appear:(venv)
Install dependencies in virtual environment
exist/venvAdd outside folderrequirements.txt, the contents are as follows:
txt
| |
Then activate the virtual environment and install dependencies
bash
| |