tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.56k stars 598 forks source link

RuntimeError: LoadFailed: "Load failed: No module named 'tabpy_client'" #488

Closed msacs09 closed 3 years ago

msacs09 commented 3 years ago

today nothing changes from our end, but started getting this error. Tried re-install and still continue to get this error for all previously working models, any thoughts ??

RuntimeError: LoadFailed: "Load failed: No module named 'tabpy_client'"

cwright98 commented 3 years ago

Hi! So I'm not a contributor or anything, but I have a suggestion that you could try: use "from tabpy.tabpy_tools.client import Client" instead of what you have. I think I ran into a similar issue as you. Hope this helps!

(Although I'm not sure what you have originally, so not sure if this applies)

If that doesn't clear it up, here is a link to a similar issue, which was resolved: https://github.com/tableau/TabPy/issues/264

nmannheimer commented 3 years ago

@msacs09 the suggestion @cwright98 is making here makes sense. You'll want to make sure you're following the latest instructions for using the tabpy_tools (formerly tabpy_client) feature which are described in the documentation of the project here under TabPy Tools.

msacs09 commented 3 years ago

@nmannheimer @cwright98 Thank you for your input. Actually I completely un-installed and re-installed tabpy and now everything seem to work as earlier. However, should i get the same issue back i will try your suggestion and report back to you. On the other note could you please help me on what's wrong with this issue please? https://github.com/tableau/TabPy/issues/485. I don't see any issues with the code, but it doesn't work??

nmannheimer commented 3 years ago

@msacs09 please see my response in that thread.