Some scripts uses features from Python 3.9 and up while not all cloud instances use the latest version of Python.
For example, the standard library ZoneInfo is introduced in Python 3.9 and can be installed by using pip install backports.zoneinfo for older versions of Python.
By checking the version of Python the dependency script can check if it needs to be installed or give a more detailed error message. Alternatively, look into virtualenv to solve this issue
Some scripts uses features from Python 3.9 and up while not all cloud instances use the latest version of Python.
For example, the standard library
ZoneInfois introduced in Python 3.9 and can be installed by usingpip install backports.zoneinfofor older versions of Python.By checking the version of Python the dependency script can check if it needs to be installed or give a more detailed error message. Alternatively, look into
virtualenvto solve this issue