Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in BI by (47.2k points)

I'm running a python script importing dataextract (from tableau api) csv,os, and datetime when I run it I'm getting this error and I don't know where to start looking. The only line of code I am running is

import dataextract as tde

And I installed this library following tableau's tutorial http://www.tableausoftware.com/learn/tutorials/on-demand/extract-api-introduction?signin=f850b055b106d24b93b365faad64838f

Traceback (most recent call last):

File "C:/Users/Ofri Harlev/Documents/Python/TableauFlatScript.py", line 1, in <module>

import dataextract as tde

File "C:\Python27\lib\site-packages\dataextract\__init__.py", line 15, in <module>

from Base import *

File "C:\Python27\lib\site-packages\dataextract\Base.py", line 17, in <module>

from . import StringUtils

File "C:\Python27\lib\site-packages\dataextract\StringUtils.py", line 17, in <module>

tablib = libs.load_lib

File "C:\Python27\lib\site-packages\dataextract\Libs.py", line 35, in load_lib

self.lib = ctypes.cdll.LoadLibrary(self.lib_path)

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 127] The specified procedure could not be found

1 Answer

0 votes
by (17.6k points)

After spending time on trying this I figured out that the Tableau Extract Library only works on computers were Tableau is installed

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...