3 Replies Latest reply on May 30, 2016 9:32 PM by Robert Blackey

    TableauSDK Import Error

    Douglas Lam

      Hi,

       

      I installed TableauSDK 9.3 on Window 2012 R2, but got the error below when I tried to import the module. I verified that I was running on Python 2.7.11 32bit and installed TableauSDK 32bit version. Any suggestions on how to resolve this error?

       

      Successfully installed pip-8.1.1

      Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32

      Type "help", "copyright", "credits" or "license" for more information.

      >>> from tableausdk import *

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

        File "tableausdk\__init__.py", line 14, in <module>

          from Types import *

        File "tableausdk\Types.py", line 17, in <module>

          common_lib = libs.load_lib('Common')

        File "tableausdk\Libs.py", line 36, in load_lib

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

        File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary

          return self._dlltype(name)

        File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__

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

      WindowsError: [Error 126] The specified module could not be found

      >>>

       

      TableauSDK version

      TableauSDK==9300.16.315.125