Path : /proc/self/root/snap/lxd/current/share/openvswitch/python/ovs/flow/ |
Current File : //proc/self/root/snap/lxd/current/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