diff --git a/py3/classes/sysflow/__init__.py b/py3/classes/sysflow/__init__.py index b183d47..1eb2cd2 100644 --- a/py3/classes/sysflow/__init__.py +++ b/py3/classes/sysflow/__init__.py @@ -18,7 +18,10 @@ # See the License for the specific language governing permissions and # limitations under the License. # -from importlib.metadata import version, PackageNotFoundError +try: + from importlib.metadata import version, PackageNotFoundError +except ModuleNotFoundError: + from importlib_metadata import version, PackageNotFoundError __version__ = '' try: