Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Some scripts are included in the installation, typically using python. Unless otherwise noted they can be used in both Windows and Linux environments. They can be downloaded by request.

All client scripts are coded in Python 3

Running script ScriptFile.py

Linux Environment

To run in Linux, open a terminal and navigate to the folder containing the script then run:

sudo python3 ./ScriptFile.py

If the script fails and indicates any library is missing, it can be installed by running:

sudo python3 -m pip install libraryname

Note that if only one version of python is present, the command to run may be “python” rather than “python3”. To check the installed versions, you can run the following:

python --version

If it species 3.7 or higher it should be compatible with the script, rerun the above commands with python in place of python3

Windows Environment

To run in Windows, open a command terminal by opening the Start menu, typing “cmd”, and right clicking “Command Prompt.” Select “Run as administrator” and the command prompt will open with elevated permission.

Navigate to the folder containing the script then run:

python3 ScriptFile.py

If the script fails and indicates any library is missing, it can be installed by running:

python3 -m pip install libraryname

Note that if only one version of python is present, the command to run may be “python” rather than “python3”. To check the installed versions, you can run the following:

python --version

If it species 3.7 or higher it should be compatible with the script, rerun the above commands with python in place of python3

  • No labels