Showing posts from May, 2024

TabPy server installation and setup for Tableau

  Introduction TabPy (the Tableau Python Server) is an Analytics Extension implementation which expands Tableau’s capabilities by allowing users to execute Python scripts and saved functions via Tableau’s table calculations. Requirements Python 3.6 + Pip Running Tableau server Installation directions Note Its recommended that tabpy be executed in a virtual environment and that is the installation and setup process highlighted below Update pip python - m pip install -- upgrade pip Install virtualenv package pip install virtualenv Create the Tabpy folder structures. This will be used to hold files needed by Tabpy and those generated by it such as logs. See example below in /opt/tabpy_server/ i.e. Create virtual environment virtualenv my - tabpy - env Activate the environment source my - tabpy - env / bin / activate   Install Tabpy pip install tabpy Create a password file. This file will be used to hold username and encrypted password details for Tabpy users touch passwd.txt Create a Tab