Error when running python into Alteryx
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I received an error when running python into the workflow:
Nevertheless, the python code runs successfully from the jupyter nb:
Could anyone know how to fix this?
Thank you
- Labels:
- Error Message
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm not exactly sure, but have you tried running it after you turn AMP off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I will double check. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
turned it off but it didn't work. thank you anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 😁
