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

Module Object has no attribute 'ABC' #262

Closed caitlyngUR closed 5 years ago

caitlyngUR commented 5 years ago

I am getting the following error:

File "tabpy-tools\tabpy_tools\query_object.py", line 13, in <module>
    class QueryObject(abc.ABC):

AttributeError: 'module' object has no attribute 'ABC'
0golovatyi commented 5 years ago

@caitlyngUR Could you provide more details about your environment?

caitlyngUR commented 5 years ago

TabPy version = 0.4 Python = 2.7 OS = Windows 10

nmannheimer commented 5 years ago

Hi @caitlyngUR

TabPy requires at least python 3.x and we require 3.6.5 for full support (that's what we confirm test coverage on).

caitlyngUR commented 5 years ago

Thank you. I went through the following steps and it is now up and running:

  1. Installed Python 3.7.3

  2. Uninstalled both tornado and nbconvert

    
    pip uninstall tornado
    pip uninstall nbconvert
3. Re-installed those with correct versions
pip install nbconvert==5.3.1
pip install tornado==4.2


4. Navigated to tabpy_server folder 
`    cd C:\Users\CaitlynG\Anaconda3\Lib\site-packages\tabpy_server`

5. Ran the startup.bat file
`   startup.bat 9001`
nmannheimer commented 5 years ago

Great!