Troubleshooting

Please ensure you have followed all the advice here and here, and if there is still a problem, please use our general contact form to let us know.

If you install Python from the Microsoft Store, then this should work OK, as the store installer will set all the necessary path statements required without asking any complicated questions. However, if you don’t have access to the Microsoft Store, you can download and install Python from the main Python website. However, if you install this way, you must tick the option to “Add python.exe to Path” – This is the main EXE file for Python and the file that is called whenever a python call is made and also the file that is called when the AGS toolkit asks Python where it is installed to and what version is installed. If the toolkit cannot find Python it is because this file is not in the Path statement for Windows.

When you check a file, the AGS Python library is called in a command prompt. This black form looks like an old-style DOS prompt. If there is a problem with the AGS Python library, this box will flash on screen quickly, and it is impossible to read any error messages in the command prompt.

This problem is usually solved by running the Install/Update button, which will remove the AGS Python library and then reinstall it. However, if this does not work, you can select the “Pause after check” option in the Settings form (v0.8 and above) so that you can see the error message displayed.

Here are a few tests that can help uncover problems:-

Open the command prompt and type Where Python. Does this give you a directory (or multiple) where Python is installed?

Copy and paste python -c “import os, sys; print(os.path.dirname(sys.executable))” into the command line – does this give you one of the locations listed in step 1

When the AGS_python library is installed, it will create pipshow.txt in the %programdata%\avonetix\AGSToolkit folder.  This includes a location line the toolkit reads to know where to look for the file.  It creates this file by running pip show python_ags4 –> [yourprogramdatafolder}\avonetix\agstoolkit\pipshow.txt