-
Notifications
You must be signed in to change notification settings - Fork 0
Python Requirements
Visum 2026 utilizes Python 3.13.
The base install of Visum 2026 comes with Python 3.13, but it may be missing packages required for the OR Metro model. To install the necessary packages on Windows, complete the following steps:
Note: The following procedure may target other Python 3.13 installations on your machine. If you are running into issues, see the secondary package installation instructions.
-
Navigate to the Visum 2026 installation folder at "C:\Program Files\PTV Vision\PTV Visum 2026" and then further to "Exe\Python" (or similar, it depends on your machine's configuration)
-
Copy the full folder path pointing to the "Python" folder
-
Open a "Command Prompt" as an Administrator (Check Administrator privileges for writing to the C drive. If required, contact your IT department). Search cmd in the main search bar, right-click "Command Prompt", and then click "Run as Administrator"
-
Set the "Python" folder as the working directory. In the command prompt, type: cd [FOLDER PATH COPIED IN STEP 2]
-
Check if the "Scripts" folder is present in the Python folder. If not, go to Step 6, if so, go to Step 8.
-
Copy "get-pip.py" from the /_setup folder located in the model directory into the /Python folder (the current working directory).
-
Install pip. Type: python get-pip.py
-
Disable your machine's default pip installer to use Visum's instead. Type in the command prompt: set PYTHONNOUSERSITE=1
-
Check the pip installer being used. The result should be: pip XX.X from [Path to Python folder from Step 1]\Lib\site-packages\pip (python 3.13). Type in the command prompt: python -m pip --version
-
To install a package, type in the command prompt: python -m pip install [Package to Install]
-
Click Enter to install the package and repeat step 7 for all necessary packages
Visum 2026 utilizes Python 3.13.
The base install of Visum 2026 comes with Python 3.13, but it may be missing packages required for the OR Metro model. To install the necessary packages on Windows, complete the following steps:
-
Navigate to the Visum 2026 installation folder at "C:\Program Files\PTV Vision\PTV Visum 2026" and then further to "Exe\Python" (or similar, it depends on your machine's configuration)
-
Open a Command Prompt as an Administrator and type: cd [Path to the Python folder]
-
Check if the "Scripts" folder is present in the Python folder. If not, go to Step 4, if so, go to Step 6.
-
Copy "get-pip.py" from the /_setup folder located in the model directory into the /Python folder (the current working directory).
-
Install pip. Type: python get-pip.py
-
To install the packages themselves and avoid the Users Python installations, type: python -m pip --isolated install [package name] --force-reinstall
-
Reopen Visum if it is already open to reset the package in the environment