My intention is to get the Tableau SDK for python module in my 2.7 virtuaenv. Here is my sequence
wget https://downloads.tableau.com/tssoftware/Tableau-SDK-Python-Linux-64Bit-10-2-2.tar.gz
gunzip Tableau-SDK-Python-Linux-64Bit-10-2-2.tar.gz
tar -xvf Tableau-SDK-Python-Linux-64Bit-10-2-2.tar
This gives me a folder with the source files. I cd into the folder with the source files and run the commands:
python setup.py build
python setup.py install
Things seem to be working no errors and last lines read
running install_egg_info
Writing /home/PCBevo/.virtualenvs/fb27/lib/python2.7/site-packages/TableauSDK-10200.17.0505.1445-py2.7.egg-info
However when I try import python throws errors:
import tableausdk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/PCBevo/.virtualenvs/fb27/local/lib/python2.7/site-packages/tableausdk/init.py", line 14, in <module> from .Types import * File "/home/PCBevo/.virtualenvs/fb27/local/lib/python2.7/site-packages/tableausdk/Types.py", line 17, in <module> common_lib = libs.load_lib('Common') File "/home/PCBevo/.virtualenvs/fb27/local/lib/python2.7/site-packages/tableausdk/Libs.py", line 36, in load_lib self.libs[lib_name] = ctypes.cdll.LoadLibrary(self.lib_paths[lib_name]) File "/usr/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary return self._dlltype(name) File "/usr/lib/python2.7/ctypes/init.py", line 365, in init self._handle = _dlopen(self._name, mode) OSError: libpcre16.so.0: cannot open shared object file: No such file or directory