Updating the Python path in a plugin script for Linux servers

Updating the Python path in a plugin script for Linux servers

If you are installing a Python plugin in Linux servers, ensure you update the correct Python path in the .py plugin script that you have downloaded from our GitHub repository.

Follow the steps below to update the correct Python path in the plugin script for Linux plugins:

  1. Execute the command below to check the Python path for python3 in your Linux server. Install the latest version of python3 in your Linux server if you do not have it installed.
    which python3

    For example, if the which python3 command returns an output /usr/bin/python3, the output is considered the correct Python path.



  2. Open the downloaded .py plugin script that you are installing and update the Python path received in the previous step, then save the script. Note that the Python path is always denoted in the first line of the script.

    For example, if your Python path based on the previous step is /usr/bin/python3, then update the first line of the script with the correct path after the #! (shebang) character as shown below:

    #!/usr/bin/python3