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 server startup #270

Closed raiello801 closed 5 years ago

raiello801 commented 5 years ago

I successfully installed tabpy using anaconda prompt. When I attempt to run the startup.bat file in the Anaconda\Lib\site-packages\tabpy_server subdirectory, I get the following error msg: AttributeErrror: module 'tornado.web' has no attribute 'asynchronous'

thank you for any assistance you can provide, Rob

nmannheimer commented 5 years ago

Hi @raiello801 , how did you install TabPy? Running with startup.bat sounds like it came from the older version in pip (which is available for legacy reasons). This is the link to the current setup instructions: https://github.com/tableau/TabPy/blob/master/docs/server-startup.md

raiello801 commented 5 years ago

Thanks for the quick response! I originally downloaded it using pip in the Anaconda command prompt screen. Then I went to github and downloaded the zip file and extracted it to the anaconda subdirectory. when i run startup.cmd I get the above error message. Is it because the startup.cmd file is in the anaconda subdirectory and not further down in the tabpy_server subdirectory? Screenshot of error msg: image

0golovatyi commented 5 years ago

@raiello801 TabPy needs Tornado to be of version 5, not 6 which you probably have on your env. You can confirm it with pip list command. If it is the case you can run pip install Tornado==5.1.1 to install the version TabPy uses.

raiello801 commented 5 years ago

Excellent Ogolovatyi, that was it! Thanks much! Rob