Thank you for pointing them but I have looked those posts.
The first link that you shared - "Tableau Integration with Python - Step by Step " seems to be out dated. (look at the screenshot in it, Date Modified goes back to 2017)
When I download and extract the tabpy Master, this is how it looks like:
There is no setup.bat/ setup.cmd file to execute.
So I thought it could be startup.cmd file that I need to execute. But then I get as shown in my original post.
Any other leads?
This is a wild guess but try using a directory name that doesn't contain blanks.
I tried. It didn't work.
1 of 1 people found this helpful
Really helpful. Thank you Nagarajan.
I had to modify it. What worked for me is as follow:
Step 1: Create a Tableau Server environment using following command:
Conda create --name Tableau_Python_Server
Step 2: Activate the connection using following command:
Step 3: this is when I had to do install the tabpy using following command
conda install tabpy-server
Notice that it's not pip install if you have anaconda.
Step 4: Now you might run into an issue with Tornado, one of the library. The latest version have some issues. So you will have to downgrade to lower version using following command:
pip install Tornado==5.1.1
Step 5: After this you will have to go in the Site_Package library and mind you think only works in command prompt:
and then start the Server by using the following command:
Phew. That sure took a long time and lot of search. But thanks everyone for the input!
Jose, I think when you installed Anaconda, you selected the option to include it in the system path variable (which the install does not advise). That is why it works for you.
I have been battling all weekend to install any Anaconda at all (Finally installed the 12/2017 release and got it working), but not where it is added to the PATH variable. So, i have to use the method described above through the Anaconda prompt as well.
Through Anaconda prompt isn't great, because the Anaconda prompt doesn't show the calculations when they are run by Tableau and help you understand what the errors are if wrong.
Hi Court Watson,
I didn't get your comment about calculations are not displaying in Anaconda prompt. I can try to help if you could provide an example.(There are ways to configure the logging levels)
Above information is no longer valid with latest release of tabpy(Version 0.8) . Please see my blog post on Tableau Prep Python Integration and Tabpy Setup which covers following topics.
1. Downloading and Installing Anaconda
2. Creating Virtual Environment
3. Installing Tabpy
4. Tableau Prep Python Integration
5. Tabpy Additional Configurations