除了使用dataextract之外,是否还有其他库可以用来刷新Tableau提取。我曾尝试安装数据提取,但得到此错误
Could not find a version that satisfies the requirement dataextract (from versions: )
No matching distribution found for dataextract我使用的是Anaconda python 3.6
在我的tableau服务器上,没有安装通过access调度提取的选项。所以我尝试通过python来实现它。
我也尝试过通过命令提示符从github下载zip文件。
C:\Users\Desktop>pip install tableau-dataextract-api-master.zip
Processing c:\users\desktop\tableau-dataextract-api-master.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\AppData\Local\Temp\pip-req-build-b_o6wmbt\setup.py", line 24
print 'Python >= 2.6 required'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print 'Python >= 2.6 required')?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-req-build-b_o6wmbt\任何建议对于替代方案都是非常有帮助的。
问候你,Ren。
发布于 2018-09-13 04:24:46
您的问题没有指定您运行的是哪个版本的Tableau。我的回答是假设您使用的是使用Hyper引擎而不是tde文件的版本。如果不正确,请编辑您的问题。
您正在尝试安装的python库是用于较旧的tde文件的。它只适用于Python 2.6+,而不适用于python3.x。
有一个较新的库,叫做Extract API2.0,用于操作Hyper文件。
https://onlinehelp.tableau.com/current/api/extract_api/en-us/help.htm#Extract/extract_api_installing.htm上提供了安装和下载链接。
https://stackoverflow.com/questions/52300633
复制相似问题