The script linked here PythonChanger.py can update the Python of the package it is run in automatically. For this it only needs to be started from the install directory of the Squish package, using the Python Interpreter that the package should be linked against.
Suppose the Python interpreter is in
C:\Python27, then the command line executed from the install directory of Squish would look like this :
The script also works for Linux and Mac. The path to the python interpreter then must be adjusted for the respective system.
This script only works for installs of Squish created from binary installers that are downloaded from our download area.
Supported Python Versions¶
This script requires that the major and minor versions of your desired Python match a version that Squish already supports (Python 2.7 or Python 3.8, in the case of Squish 6.6). If you wish to use Squish with a version of Python that is different (Python 3.7 or Python 3.6, for example), a custom build of Squish must be made. Contact support and include your buildinfo.txt and desired Python version, to get a compatible build of Squish made for you.
The script can not be used for Python virtual environments.