To set the default Python version

Purpose

Perform the procedure to set the default version of the Python language that the NSP requires. The setting is required after a manual RHEL OS installation for an NSP component, and before any NSP software is installed on the component station.

Note: You must perform the procedure on each station in an NSP deployment that has a manually installed RHEL OS.

Note: You do not need to perform the procedure on a RHEL OS deployed using the NSP qcow2 OS image, as the OS image includes the setting.

Steps
 

Log in as the root user on the station that hosts the OS.


Open a console window.


Enter the following:

alternatives --set python /usr/bin/python3 ↵

The setting is applied.


Close the console window.

End of steps