There is no python interpreter on Windows so we need to install Python Interpreter.
We strongly recommend Python Version 3.7.3. This is because PAM's embedding python has that version.
First search at google with
python 3.7.3 download for windows.
You can download Windows x86 executable installer
- There are installer files for
x86-64andx86.x86-64is for 64-bit Windows OS andx86is for 32-bit Windows OS.- Windows PAM embed Python 3.7.3 32-bit interpreter and using it so choose
x86installer.- 32-bit python can also run at 64-bit Windows OS.
And the let's run the downloaded installer.
Let's run Customized installation at the starting setup window.
- You can use
Install Nowwith default options, but for the convenience of following examples.
- It's necessary to set
pipoption to use pip for installing other Python packages.
- We recommand the
Customize install locationwith theC:\Python37-32location.- This is for using absolute
python.exepath likeC:\Python37-32\python.exewithout setting PATH.
Finally successfully installed of Python 3.7.3.
We can check the Python version at CMD.EXE.
C:\> C:\Python37-32\python.exe -V
Python 3.7.3
C:\> C:\Python37-32\python.exe
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>Python Virtual Environment is the lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Python packages in its site directories.
C:\>mkdir work
C:\>cd work
C:\work>C:\Python37-32\python.exe -m venv py37
C:\work>py37\Scripts\activate
(py37) C:\work>pip list
Package Version
---------- -------
pip 19.0.3
setuptools 40.8.0
You are using pip version 19.0.3, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(py37) C:\work>python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/4d/16/0a14ca596f30316efd412a60bdfac02a7259bf8673d4d917dc60b9a21812/pip-22.0.4-py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-22.0.4
(py37) C:\work>pip list
Package Version
---------- -------
pip 22.0.4
setuptools 40.8.0
(py37) C:\work>where python
C:\work\py37\Scripts\python.exe
C:\Users\toor\AppData\Local\Microsoft\WindowsApps\python.exe
(py37) C:\work>deactivate
C:\work>Whenever you want a new Virtual Environment you can create and use it.
If you do not want that Virtual Environment just delete created folder in case above example C:\work\py37.





