oneview-python icon indicating copy to clipboard operation
oneview-python copied to clipboard

Incompatability with Python 3.12

Open lukas-holzner opened this issue 2 years ago • 2 comments

    from hpeOneView import HPEOneViewTaskError

  File "/usr/local/lib/python3.12/site-packages/hpeOneView/__init__.py", line 12, in <module>

    from future import standard_library

  File "/usr/local/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>

    import imp

ModuleNotFoundError: No module named 'imp'

Hello,

it seams like this Python package is using deprecated packages, which where removed in Python 3.12. "imp" no longer exists in python 3.12.. Could you please update dependencies/ the way you are working with libraries.

Thank You!

lukas-holzner avatar Jan 19 '24 13:01 lukas-holzner

Hi @lukas-holzner thanks a lot for pointing this out, we will look into it and pick it up as per priority.

akshith-gunasheelan avatar Jan 23 '24 03:01 akshith-gunasheelan

Hi, Any resolution to he above found? I see a similar issue in python3.11 as well. Kindly update. Thanks in advance.

Karthik VR ([email protected] / 9886404818)

karthikvr1 avatar Nov 25 '24 08:11 karthikvr1