PTV Visum - Frequently Asked Questions (FAQs)
Please make sure the page has finished loading before you browse the FAQ list.
- PTV Visum was unable to find a suitable Python 2.7/3.7 installation.
- Python 2.7 and/or 3.7 is listed as 'not available' in the 'User Preferences' menu.
- AddIns and Python scripts do not work.
Attempting to open
Scripts -> Python Console
results in a crash or an error message: 'No suitable installation of Python 3.7 was found'.
AddIns like 'Calculate Matrix' cause an error message or a crash.
PTV Visum 2020 supports the Python 64 bit versions 2.7 and 3.7
Principally parallel installations of other Python versions are possible (e.g also 3.8).
Visum needs a correct Python installation (system wide for python 2.7) along with corresponding registry settings as well as the python package pywin32. After installation, this package must be registered as described at
So we recommend to use the Python installation provided within the installation package and also available as download under
Regarding Python 3.7
First, remove all Python 3.7-installations,
then delete both registry keys manually (if still existing)
then reinstall Python 3.7 using the PTV Python setup.
Notes on Python 3.7:
On startup Visum tries to load the DLL 'pythoncom37.dll' and uses as search path the sub folder 'Lib\site-packages\pywin32_system32' of the path given by the registry key InstallPath (<HKLM or HKCU>\SOFTWARE\Python\PythonCore\3.7\InstallPath).
Two files 'pythoncom37.dll' and 'pywintypes37.dll' should be located in this directory.
Additionally, the file python37.dll should be located in the directory given by the registry key InstallPath itself.
When trying to load the DLL 'pythoncom37.dll' an additional search in the system directory (Windows\system32) and possibly also in the directories of the PATH-environment variable is performed.
To make sure that there are no other variants of this DLL on the computer, you may search for the file 'pythoncom37.dll' on the entire computer.
After trying to execute a python script, the content of the file protocol.txt (see menu File->Show log files) might also deliver information on possible problems when loading Python.
In case an error occurs when importing any further python packages, it may be caused by the environment variable PYTHONPATH, if it is set to a directory that contains python packages of another python version.