[ovirt-users] Re: engine python sdk ImportError: cannot import name 'Client'

2023-09-11 Thread parallax
solved

пн, 11 сент. 2023 г. в 13:43, parallax :

>
>  I try to use the Python sdk to download vm disk but get the error:
>
> # python3.9 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
> /home/librenms.raw --format raw --config engine2
> Traceback (most recent call last):
>   File "download_disk.py", line 31, in 
> from ovirt_imageio import client
> ModuleNotFoundError: No module named 'ovirt_imageio'
>
>   or when run it with python3.6:
>
> # python3.6 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
> /home/librenms.raw --format raw --config engine2
> Traceback (most recent call last):
>   File "download_disk.py", line 31, in 
> from ovirt_imageio import client
> ImportError: cannot import name 'client'
>
>  Environment:
>
>  Rocky Linux release 8.8
>  Python 3.6.8, Python 3.9.16
>  python39-ovirt-engine-sdk4-4.6.0-1.el8.x86_64,
> python3-ovirt-engine-sdk4-4.6.2-1.el8.x86_64
>  ovirt-release44-4.4.10.3-1.el8.noarch
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2TTQ2HRJOHFGNGHSERNRWR5UQYJOFYTZ/


[ovirt-users] engine python sdk ImportError: cannot import name 'Client'

2023-09-11 Thread parallax
 I try to use the Python sdk to download vm disk but get the error:

# python3.9 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
  File "download_disk.py", line 31, in 
from ovirt_imageio import client
ModuleNotFoundError: No module named 'ovirt_imageio'

  or when run it with python3.6:

# python3.6 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
  File "download_disk.py", line 31, in 
from ovirt_imageio import client
ImportError: cannot import name 'client'

 Environment:

 Rocky Linux release 8.8
 Python 3.6.8, Python 3.9.16
 python39-ovirt-engine-sdk4-4.6.0-1.el8.x86_64,
python3-ovirt-engine-sdk4-4.6.2-1.el8.x86_64
 ovirt-release44-4.4.10.3-1.el8.noarch
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SAXW74AILUR2LOBGGRFFUJAQZG3UGPD4/