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

Tabpy Port issue #421

Closed Santosh92Nanduru closed 4 years ago

Santosh92Nanduru commented 4 years ago

Environment information:

Describe the issue I am unable to establish a link between Tableau and Python using Tabpy.

I have Anaconda installed in my Macbook. I opened a Jupyter notebook and installed Tabpy using pip install command (screenshot attached). I tried going into the site-packages and run the .sh file. I did not find the port code(screenshot attached).

How can I now link Python and Tableau?

Screenshot 2020-05-28 at 9 36 40 PM Screenshot 2020-05-28 at 9 38 41 PM Screenshot 2020-05-28 at 9 38 59 PM

0golovatyi commented 4 years ago

@Santosh92Nanduru You can find instructions for how to install and start TabPy here - https://tableau.github.io/TabPy/docs/server-install.html.

Santosh92Nanduru commented 4 years ago

I already installed tabpy server using the pip command in notebook. I still can't establish a connection.

0golovatyi commented 4 years ago

@Santosh92Nanduru You mentioned obsolete packages and scripts in your comment, it doesn't look like you installed TabPy. Check what tabpy version is installed with pip list command.

0golovatyi commented 4 years ago

@Santosh92Nanduru Have to try to install TabPy as instructions explain? Are you still experiencing the issue?

Santosh92Nanduru commented 4 years ago

Hi. I had followed a different route to address the problem. I entered the admin mode by typing ' sudo su' in the terminal. Once I was there, I installed Tornado 5.1.1. ( I read somewhere this might be the issue). This was strange because I had Tornado 6.1.XXX installed in my laptop.

However, once this was done, I dragged and dropped the startup.sh file into the terminal. The shell file got executed and I got connected to the port.

Am not sure how this all works... But this what I precisely did.

0golovatyi commented 4 years ago

@Santosh92Nanduru There is no startup.sh file and you don't need one if you follow instructions for how to install TabPy at https://github.com/tableau/TabPy/blob/master/docs/server-install.md.