Pipvenvcreation
Contents
Create the environment from cmd
| |
Then activate it:
| |
Select specific python version
In the cmd prompt, use the following to get the correct python version:
| |
Then the rest follows as normal.
Command explanation
In Python, the -m flag is used to run a module as a script. When you run python -m module_name, Python searches for the specified module in the module search path (sys.path), imports it, and then runs it as the __main__ module.
| |
Install from requirements
After environment activation:
| |