The pySROS libraries are delivered and preinstalled on SR OS nodes. This libraries can be installed on another device, such as a PC or UNIX workstation.
Use one of the following methods to install the pySROS libraries:
from the Python Package Index (PyPI) using the pip tool (preferred method)
To do this, execute the pip install pysros command on the device.
from source code delivered from github.com
To do this, clone the source code repository to your device by executing the git clone https://github.com/nokia/pysros command.
The source code can then be compiled and installed by executing python3 setup.py install.
from source code delivered from the Nokia online support portal
To do this, obtain the source code from the Nokia online support portal. This is the same location where the SR OS software resides.
The source code can then be compiled and installed by executing python3 setup.py install.