Alteryx Designer Desktop Discussions

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

Error when running python into Alteryx

lauragomezkpmg
6 - Meteoroid

Hi,

I received an error when running python into the workflow:

lauragomezkpmg_0-1742989616449.png

 

 

Nevertheless, the python code runs successfully from the jupyter nb:

lauragomezkpmg_1-1742989616451.png

 

Could anyone know how to fix this?

Thank you

7 REPLIES 7
Aaron_Foster
6 - Meteoroid

I'm not exactly sure, but have you tried running it after you turn AMP off?

OTrieger
13 - Pulsar

@lauragomezkpmg 

From the error message, it says that NBConnectorApp not recognizing the this coding extra_Template_paths maybe there is a different syntax that need to be use based on Python version or based on the NBConnectorApp version

apathetichell
19 - Altair

I'd probably try the old method of: turn off alteryx. turn on alteryx. re-run.

if that doesn't work:

copy your code.

delete your python tool.

add a new python tool.

paste your code.

rerun.

 

worth asking - can you confirm that the filepath uses \\ formatting outside of the python tool?

lauragomezkpmg
6 - Meteoroid

Hi, thank for your reply:

copy your code.

delete your python tool.

add a new python tool.

paste your code.

rerun. ---> I did it (several times). didn't work 

 

worth asking - can you confirm that the filepath uses \\ formatting outside of the python tool? yes

 

I also uninstalled and installed Alteryx twice :(

lauragomezkpmg
6 - Meteoroid

I will double check. Thank you

lauragomezkpmg
6 - Meteoroid

turned it off but it didn't work. thank you anyway 

lauragomezkpmg
6 - Meteoroid

I solved the problem. I scanned my computer for any jupyter folders, I found some remainders in C, ProgramData. After removing them, the error disappears 😁

 

Labels
Top Solution Authors