KNOWLEDGE BASE

How To Build A TabPy Server Other Than Building It On Anaconda


Published: 16 Jul 2021
Last Modified Date: 24 Aug 2022

Question

How to build a TabPy Server other than building It on anaconda.
 

Environment

  • Windows 10
  • Tableau Server
  • Tableau Desktop
  • Tableau Prep Builder

Answer

Setup
1. Download and install Python.
2. Download and install the Tableau Python server (TabPy).
  • python -m pip install --upgrade pip
  • pip install tabpy
3. Running TabPy in Python Virtual Environment (TabPy)
  • pip install virtualenv
  • virtualenv my-tabpy-env    #replace my-tabpy-env with your virtual environment name
4. Starting TabPy
  • my-tabpy-env\Scripts\activate
  • tabpy
     Please execute the command below to deactivate after tabpy stops.
     my-tabpy-env\Scripts\deactivat

Test connection from Tableau Desktop
In this case, the Tabpy server and Tableau Desktop were installed on the same machine.
Test connection from Tableau Desktop
Did this article resolve the issue?