Version | 01 |
Release Date | 01 Jan 2021 |
Type | SAP Documents |
Status | Released |
1. Install Python and set Environment variable for python
2. Run the following command to create a virtual environment with the same version as the global python implementation.
python3 -m venv tutorial-env
Option 02:
If multiple versions of python installed , then python version can be entered while creating new virtual environment.
python36 -m venv tutorial-env
This is assuming python 3.6 is installed and Home path is set in environment variable.
Option 3 :
If python version is installed and home variable is not set then , then navigate to the path where python is installed and run the following command.
python3 -m venv <<Path to virtual env folder>>
How to identify where python is installed.?