Python Session
Here the instructions for installing Python packages and running TabPy server are provided in detail. Please follow these steps sequentially and hopefully it would install the packages successfully in your machine:
Install Tableau: Make sure you have working Tableau installed in your computer: https://www.tableau.com/products/desktop/download?signin=academic
Installing Anaconda3 (Python 3.7): Download latest version of Anaconda3 (Python 3.7) for your OS platform from here: https://www.anaconda.com/distribution/
If your OS platform is Windows use this link: https://repo.anaconda.com/archive/Anaconda3-2019.10-Windows-x86_64.exe
If your OS platform is Mac use this link: https://repo.anaconda.com/archive/Anaconda3-2019.10-MacOSX-x86_64.pkg
If your OS platform is Linux use this link: https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
Installing Python packages:
If your OS platform is Windows: In Start type cmd and right click on it and use run as administrator to open Windows command line. Then install these packages:
numpy: conda install -c anaconda numpy
pandas: conda install -c anaconda pandas
tabpy-client: conda install -c anaconda tabpy-client
scikit-learn: conda install -c anaconda scikit-learn
If your OS platform is Mac or Linux: Open Terminal and first put the Anaconda into your PATH and then install these packages:
Putting Anaconda into your PATH: export PATH=$HOME/anaconda3/bin/:$PATH
numpy: conda install -c anaconda numpy
pandas: conda install -c anaconda pandas
tabpy-client: conda install -c anaconda tabpy-client
scikit-learn: conda install -c anaconda scikit-learn
Installing TabPy server: Download TabPy 0.7 in your computer and start TabPy server:
Download TabPy 0.7: https://github.com/tableau/TabPy/archive/0.7.zip
Start the TabPy server:
Start TabPy server in Windows: Open a cmd command line and run startup.cmd
Start TabPy server in Mac and Linux: Open a Terminal and run startup.sh
Download Jupyter notebook for data analysis in Python: Download Jupyter notebook from here: https://github.com/myousefi2016/Breast-Cancer-Example/archive/master.zip