Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Support for Python2 in Python Tool?

BrianBiggs
5 - Atom

Does anyone know if there's support for Python2 in the Python tool? There's no mention of it anywhere. 

 

In the tool, if you go to Kernel > Change Kernel, it displays Python3 which implies that you can switch to Python2 but it's unclear how to make that happen. 

 

Porting an existing module to Python3 isn't an option for me. 

 

Thanks,

Brian

2 REPLIES 2
BrandonB
Alteryx
Alteryx

The Python tool does not currently allow for switching to Python2. As seen on the help page for the Python tool for version 2019.2 (https://help.alteryx.com/2019.2/Python.htm

  • Change kernel does not provide functionality.

One alternative would be to use the run command tool to kick off a python script that you have saved on your computer using the older python environment. 

BrianBiggs
5 - Atom

Got it, thanks. I suggest including this limitation in the core Python tool docs as well: 

https://help.alteryx.com/current/Python.htm

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Python/ta-p/197860

Labels