Installing TM1py

This article explains the steps to install TM1py. Installing TM1py will take you just few minutes.

Prerequisites

  • TM1 (10.2.2 Fix Pack 5 or higher)

Checking if Python is installed

TM1py is a Python package, in order to use TM1py you need to install Python. First, we need to check if you have python installed. Open the command-line and type:

  • python --version.

To open the command-line, press the windows button on the keyboard. Then type 'cmd'. Then press enter.

If you are getting the message above, it means that Python is not installed. If Python is already installed you can just use pip install TM1py to install the TM1py package.

Installing Python or Anaconda

To install Python you can choose to either install the official Python platform or another Python platform such as Anaconda. We recommend installing Anaconda as it contains Python + a lot of very useful libraries such as Jupyter Notebook:

To get the latest Anaconda version click the following link:

Choose the correct distribution:

Once downloaded just execute the installer, you can keep the default settings and click next until the end of the installer (The installation should take less than 10 minutes):

Installing TM1py

To install TM1py with Anaconda, just open the Anaconda prompt:

and then type the following command line:

  • pip install TM1py

Check connectivity with your TM1 instance

Once TM1py installed, you need to check the connectivity with your IBM TM1 or Planning Analytics instances, to do that just follow the steps described in the following article: