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 Run startup.sh on MacOS and Linux #314

Closed PatrickUtz closed 5 years ago

PatrickUtz commented 5 years ago

Environment information:

Describe the issue When trying to startup a server with TabPy using the command ./startup.sh I get the following error: AttributeError: module 'tornado.web' has no attribute 'asynchronous'. I have also attached a screenshot. It is worth mentioning that the same issue occurred when I tried running the server on Linux and it said that I had an incompatible version of tornado-json. Any form of help would be greatly appreciated. Thank you.

Screen Shot 2019-06-08 at 5 27 09 PM Screen Shot 2019-06-08 at 5 31 37 PM
0golovatyi commented 5 years ago

@PatrickUtz It looks like you env has a version of Tornado with some incompatible changes. Could you try pip install tornado==5.1.1 and then ./startup.sh again.

PatrickUtz commented 5 years ago

@0golovatyi After doing pip install tornado==5.1.1 and pip install jsonschema==2.3.0 it worked! Thank you.