Setting a default Python environment

You can specify which Python environment is used by default in Visum.

1.  From the Edit menu, choose User preferences.

The User preferences window opens.

2.  In the navigator, select Working environment > Script files.

3.  In the Default Python environment section, check the desired option.

4.  Confirm with OK.

The settings are applied.

Note: The setting affects the program

  • When executing a script from the Scripts menu (Working with scripts)
  • When opening a Python file via the File menu from the list of recently opened files
  • When using the Python console (Opening a Python Console in Visum)
  • When using the COM method IVisum::ExecuteScriptFile
  • In user-defined entries in the script menu if the Run script file option is selected or Python script code is executed directly
  • When using a script when executing a scenario management calculation on a compute node
  • When starting a script via Visum command line parameters
  • When executing an AddIn that is compatible with both Python versions