Mistake on this page? Email us

Installing the demo requirements

A note on the use of pip and Python commands:

If you have an activated virtual environment, you can use the commands provided in the instructions below. If you do not activate your virtual environment, you must use the full or relative path for pip and Python commands.

The following example demonstrates how to run the same command in a virtual environment and on your physical machine:

  • On your physical machine or if you activate your virtual environment:

    pip install -r ft_demo\sources\requirements.txt --upgrade

  • Using a virtual environment that is not activated:

    • In Windows:

      [your Python installation path]\Scripts\pip install -r ft_demo\sources\requirements.txt --upgrade

    • In Linux:

      [your Python installation path]/bin/pip install -r ft_demo/sources/requirements.txt --upgrade


  1. Install the demo requirements by navigating to the root of the extracted archive and running the following command:

    • For Windows:

      pip install -r ft_demo\sources\requirements.txt --upgrade
      
    • For Linux:

      pip install -r ft_demo/sources/requirements.txt --upgrade
      
  2. Verify that the demo runs by running the following command:

    • For Windows:

      python ft_demo\sources\ft_demo.py --version
      
    • For Linux:

      python ft_demo/sources/ft_demo.py --version
      
  3. The demo must have a pointer to the FCU installation through the FCU_HOME_DIR environment variable.

    For example, to run all commands from the root of the extracted archive, set FCU_HOME_DIR to the FCU installation directory:

    • For Windows:

      set FCU_HOME_DIR=[your FCU archive path]
      
    • For Linux:

      export FCU_HOME_DIR=[your FCU archive path]
      

    Note: If FCU_HOME_DIR is not specified, FCU assumes that the current working directory is FCU_HOME_DIR.