File Manager

Current Path : /snap/lxd/31333/share/openvswitch/python/ovs/flow/
Upload File :
Current File : //snap/lxd/31333/share/openvswitch/python/ovs/flow/__init__.py

""" Global flow library entrypoint.
"""
for libname in ["netaddr", "pyparsing"]:
    try:
        lib = __import__(libname)
    except ModuleNotFoundError as e:
        raise ImportError(
            f"OVS Flow library requires {libname} to be installed."
            " To install all the dependencies needed for the Flow library, run"
            " 'pip install -e ovs[flow]' (or 'pip install -e .[flow]' locally)"
        ) from e
    else:
        globals()[libname] = lib

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com