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

Unable to Install TabPy using package downloaded from github repository #295

Closed anujgupta91 closed 5 years ago

anujgupta91 commented 5 years ago

I have recently installed 3.7.3 and tableau 2018.1 in window 10 machine. I am having admin rights as well. I downloaded the Tabpy pakage from github repository.

I unzip the package at this location C:\Users......\Desktop\New Folder\Software\TabPy-master

When I am executing the startup.bat file as (administrator as well normal). I am getting command prompt for 1 second only.

The message on command prompt is (unable to read properly) "Installing ... missing dependencies"

Am I missing something. Can anyone please help.

another question is "do I need administrator right to install tabpy package" ?

nmannheimer commented 5 years ago

Hi @anujgupta91 please try installing the latest release instead of pulling the master branch: https://github.com/tableau/TabPy/tree/0.5

Also confirming the file you are running is startup.cmd, not startup.bat?

anujgupta91 commented 5 years ago

Thanks @nmannheimer for the prompt response.

Previously I just double clicked on the file available in TabPy folder as mentioned in the link [https://community.tableau.com/thread/236479].

But now I am following below mentioned steps.

  1. Open cmd Promp as administrator
  2. Navigate to directory where python is installed.
  3. execute the startup.bat

    Check "C:\Users\anujg\Desktop\My Drive\Software\TabPy-0.5"\tabpy-server\install.log for details. Parsing parameters... Starting TabPy server...

2019-05-15,13:30:48 [INFO] (app.py:app:219): Loading state from state file C:\Users.....\Desktop\My Drive\Software\TabPy-0.5\tabpy-server\tabpy_server\state.ini 2019-05-15,13:30:48 [DEBUG] (app.py:app:234): Static pages folder set to "C:\Users...\Desktop\My Drive\Software\TabPy-0.5\tabpy-server\tabpy_server\static" 2019-05-15,13:30:48 [INFO] (app.py:app:253): Password file is not specified: Authentication is not enabled 2019-05-15,13:30:48 [INFO] (app.py:app:269): Call context logging is disabled 2019-05-15,13:30:48 [INFO] (app.py:app:87): Initializing TabPy... 2019-05-15,13:30:48 [DEBUG] (selector_events.py:selector_events:53): Using selector: SelectSelector 2019-05-15,13:30:48 [INFO] (callbacks.py:callbacks:40): Initializing TabPy Server... 2019-05-15,13:30:48 [INFO] (app.py:app:90): Done initializing TabPy. 2019-05-15,13:30:48 [INFO] (callbacks.py:callbacks:60): Initializing models... 2019-05-15,13:30:48 [INFO] (app.py:app:82): Web service listening on port 9004

and I am able to connect. Thank you so much

anujgupta91 commented 5 years ago

Please let me know that "Do I always need admin right to run tabpy server on my machine"

Also will the tableau automatically take care the calculations when I published my report to server. or I need to install tabpy utility on the server as well.

Thanks in advance.

nmannheimer commented 5 years ago

You do not necessarily need to run TabPy as an admin, this will depend on your system settings.

You will also need to configure TabPy on your Tableau Server as detailed in the documentation: https://github.com/tableau/TabPy/blob/master/docs/TableauConfiguration.md

anujgupta91 commented 5 years ago

ok thanks :)