Frequently Asked Question

How to add/install an external python library in Typhoon Test IDE?
Last Updated 2 years ago

Here are few steps how to import the library successfully:

  1. First, activate the Python virtual environment. Open the Command Prompt or Terminal. In Windows, do this by clicking the Windows key, typing “cmd”, and pressing Enter.
    Once open, type the following commands for activating the Embedded (Python 3) virtual environment

Terminal commands (replace THCC version on {version} (e.g. 2021.4 SP1, 2022.1, …)):

> cd %APPDATA%\typhoon\{version}\python_portables\python3_portable\Scripts\


   2. After we successfully activated the virtual environment, let’s install openpyxl python library. The openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.

Terminal commands:

> pip install openpyxl

    3. In the console window, you will get the message that the library is successfully installed.

   4. Now you can run the >pip list command in order to check if the library is installed.

Terminal commands:

> pip list

   5. Now that we successfully installed the library, let’s start to use it in the Typhoon Test IDE

Please Wait!

Please wait... it will take a second!