Skip to main content

Python Tool Environment in Server Upgrades

This checklist ensures you consider all tasks that might be needed for your Server upgrade in regards to Python Tool and directs you to Help and Knowledge Base articles for detailed step-by-step procedures.

Plan

Questions/Steps

Consideration/Links

Understand the Python Tool's shared environment.

The Python Tool uses a shared environment on the Server that is reset during a Server upgrade.  Any workflow using the Python Tool might have installed packages in this shared environment and will not run after your Server upgrade until the necessary packages are restored.

Check if the upgrade changes the Python version used by the Python Tool.

Your users' Python scripts might need to be modified when the underlying version of Python changes. Find the Python version your Server uses. For more information, go to Alteryx Embedded Python.

How do users install packages in the shared Python environment?

For more information, go to How To: Use Alteryx.installPackages() in Python tool.

Prep Work

Questions/Steps

Consideration/Links

Get list of installed Python packages.

Go to How To Create a Text File for a Backing up Designer Python Packages.

Upgrade

Questions/Steps

Consideration/Links

Restore Python packages.

Go to How To Create a Text File for a Backing up Designer Python Packages.

Has the embedded Python version changed?

To find the Python version used by your Server version, go to Alteryx Embedded Python.

If the Python version changes in the Server upgrade, notify your users so they can retest the code.

Do you have multiple Worker nodes on AWS?

Create a utility script to replicate the shared Python environment across your Workers.