I'm trying to switch my workflows over from the Publish to Tableau Server tool to use the newer Tableau Output tool. I've got it installed and I can connect to the Tableau Server, but whenever I try to run it I get the following error:
Error: Tableau Output (28): Traceback (most recent call last):
File "main.py", line 15, in <module>
ModuleNotFoundError: No module named 'ayx_python_sdk'
However if I check which packages are installed, the list includes ayx_python_sdk
I have absolutely no experience using python, so I would really appreciate some help getting this to work correctly!
Hi @Christina_H This may be due to Tableau introducing MFA which is handled differently in the two conenctors
I found this article that may help with troubleshooting the issue
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-is-Alteryx-affected-by-Tableau-...
Also are you on the latest version of Alteryx Designer as the python libraries will also be updated if you are on an older version. The new Tableau connector is compatible with 2021.3 onwards, if you are on anything prior to this you will need to upgrade your software.
Hi @Kakuffo
Thanks for responding. I'm using Alteryx Designer 2022.1, so compatibility shouldn't be an issue. The article you've sent suggests using a personal access token, which I'm already doing. The connecter has no trouble connecting to Tableau Server, it shows me the existing folders and data sources, but when I try to run the workflow I get the python error. So I think it must be an issue with python, but I have no idea how to fix it!
Hey @Christina_H take a look at this solution article i believe this is the issue you are facing
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Python-Tool-ModuleNotFoundError-No-...
Hi @Kakuffo
No joy I'm afraid. For my version of Alteryx, the advice from that article is to uninstall and reinstall. I've tried that and nothing has changed. I've also tried upgrading to the latest version, and I'm still getting the same error.