Resolve Python Compiling Errors

Errors may occur if you compile the Python package from the source code. To install the Python package from the source, perform the following compiler setup.


Setup Visual Studio compiler in the DOS command prompt.

To use Visual Studio 2015:
  • If you have other versions of Visual Studio installed, redefine the environment variable VS100COMNTOOLS.
To use Visual studio 2019:
  1. Open the Developer Command Prompt for VS 2019.
  2. Run the VsDevCmd.bat file.
    Note: VsDevCmd.bat file can be located in:
    <Drive>\Program Files\Microsoft Visual Studio\<Version>\<Offering>\Common7\Tools
    <Drive>\Program Files (x86)\Microsoft Visual Studio\<Version>\<Offering>\Common7\Tools


  1. Use the compiler gcc (GCC), version 8.3.1 20190311, and define the environment variable LIBRARY_PATH, in bash shell.
  2. export LIBRARY_PATH=<INSTALLATION_ROOT>/.altair/common/python/python<version>/linux64/lib