1 Reply Latest reply on Dec 11, 2019 9:13 AM by Zach Haupin

    Python Tableau SDK - FileNotFoundError TableauCommon

    Zach Haupin

      Background:

      Python 3.8, 64-bit

      Tableau SDK - 64-bit (Tableau-SDK-Python-Win-64Bit-10-3-26.zip)

      Install Python

      Extract, run build / install in Tableau SDK.

       

      This import statement fails:

      from tableausdk import *

       

      File "C:\Program Files\Python38\lib\site-packages\tableausdk\__init__.py", line 14, in <module>

        from .Types import *

        File "C:\Program Files\Python38\lib\site-packages\tableausdk\Types.py", line 17, in <module>

        common_lib = libs.load_lib('Common')

        File "C:\Program Files\Python38\lib\site-packages\tableausdk\Libs.py", line 36, in load_lib

        self.libs[lib_name] = ctypes.cdll.LoadLibrary(self.lib_paths[lib_name])

        File "C:\Program Files\Python38\lib\ctypes\__init__.py", line 447, in LoadLibrary

        return self._dlltype(name)

        File "C:\Program Files\Python38\lib\ctypes\__init__.py", line 369, in __init__

        self._handle = _dlopen(self._name, mode)

      FileNotFoundError: Could not find module 'TableauCommon'. Try using the full path with constructor syntax.

       

      This is the second time I've seen this issue on two different computers. What is missing?