Python version and installation
- Last UpdatedOct 29, 2026
- 2 minute read
When AVEVA Edge is installed on a Windows machine, one or more versions of Python are also installed. Other versions of Python may be installed on the same computer as well.
The Python installation used by AVEVA Edge is installed at: C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime
-
Windows files are located at: C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\<version>\Windows\x86\Bin\Python
where <version> is the version of Python, for example 3.11.
-
Linux (IoT View) files are located at: C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\<version>\Linux\<architecture>\lib
where <version> is the version of Python, for example 3.11, and <architecture> is the Linux machine processor, for example armv7l-2.23-6.0.21.
Running Python manually
Note: These instructions apply to running a Python executable that is installed with AVEVA Edge. You may have other Python installations on your computer.
-
Open a Command window or Windows PowerShell with administrative privileges.
Note: AVEVA Edge Studio and SCADA start Python in isolated mode. In isolated mode, Python will only load modules that have been installed into the main distribution, which requires elevated privileges.
-
At the prompt, type (prefix the command with & in PowerShell):
"C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\<version>\Windows\x86\Bin\Python\python.exe"
Setting the Python version
-
Check the available versions of Python that are supported at: C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\
-
Open the Program Settings.ini file (typically installed at <program folder>\Bin\Program Settings.ini)in a text editor and find the section [PythonCommonComponent]:
[PythonCommonComponent]
Enabled=1
FontSize=18
PythonVersion=3.11
-
Change the PythonVersion parameter to the supported version you would like to use, and save the file.
-
Restart AVEVA Edge for the change to take effect.
Using Pip to add Python modules on Windows
You can use Pip in a command line interface with elevated privileges to add Python modules as you would with other Python distributions. For example, to install the NumPy module into the 3.11 version of Python using Command.exe, type:
"C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\3.11\Windows\x86\Bin\Python\python.exe" -m pip install numpy
Using Windows PowerShell, prefix the command with an ampersand (&), for example:
& C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\3.11\Windows\x86\Bin\Python\python.exe" -m pip install numpy
Some Python modules do not install using such a command. This is usually because the module does not support the Python version or Windows platform you are using. In this case, use a command like this:
"C:\Program Files (x86)\Common Files\AVEVA\Python\Runtime\3.11\Windows\x86\Bin\Python\python.exe" -m pip install --only-binary :all: pandas
This command will install the specified Python module, Pandas in this example, only if it has binaries for the Python version and the Windows platform.
Note: AVEVA Edge supports 32-bit Python modules on Windows.
Using Pip to add Python modules on Linux
You can use Pip to add Python modules as you would with other Python distributions. For example, to install the Requests library into the 3.11 version of Python:
<runtime directory>/bin/python3.11 -m pip install requests
Note: Depending on the system architecture, either 32-bit Python modules or 32-bit and 64-bit Python modules are supported on Linux.