Troubleshooting Python Driver for Geo SCADA 2025.
This article will cover the various errors that may be encountered while running the Python driver on Geo SCADA 2025 and later versions:
One common issue is a pop-up error message stating: "Operation was unsuccessful." This may appear during the execution of the Python program
This usually indicates that either the Python executable is not installed or it is not correctly referenced in the server configuration tool: (The Python executable is located in C:\Program Files\Python313)
When installing Python, it is recommended to check the 'Use Admin Privileges when installing py.exe' box to grant admin privileges to Python executable files. Additionally, selecting 'Add Python.exe to PATH' is advisable to add the Python path to your environment variables, allowing you to execute Python commands from the Windows command line.
Note that Geo SCADA supports python versions 3.12 and 3.13
If you encounter the error ModuleNotFoundError: No module named 'geoscada' while running your Python program, it means that Python cannot find the Geo SCADA API.
In order to resolve this, install the Geo SCADA Expert API Python package files by executing the following commands in the Windows command line:
cd C:\Program Files\Python313 (depends on the python file location)
and
python -m pip install --force-reinstall --find-links="C:\Program Files\Schneider Electric\ClearSCADA\PythonPackages" geoscada-client
If the issue persists and you see the message "defaulting to user installation because normal site-packages is not writeable" after running the command, please verify that the command was ran as an administrator and that the site-packages directory is writable.
Publikováno pro: Schneider Electric Česká republika
Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte se nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.