VMware Cloud Community
tedx
Contributor
Contributor

ovftool 4.4 install RHEL 8 fails

I'm trying to install ovftool on RHEL 8 but running into issues. First it complained that python3.9 was required so I installed it but now python can't find the zlib module. Has anyone successfully installed ovftool on RHEL 8, if so how?

 

./VMware-ovftool-4.4.0-15722219-lin.x86_64.bundle
Extracting VMware Installer...done.

(vmware-installer.py:26156): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(vmware-installer.py:26156): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
File "/usr/lib/vmware-installer/3.0.0/vmware-installer.py", line 19, in <module>
from vmis.core.common import SYSTEM_BOOTSTRAP, SYSTEM_DATABASE, ParseExceptionTuple
File "/usr/lib/vmware-installer/3.0.0/vmis/core/common.py", line 14, in <module>
from vmis.core import install
File "/usr/lib/vmware-installer/3.0.0/vmis/core/install.py", line 16, in <module>
from vmis.core.component import ComponentError, ComponentTypes
File "/usr/lib/vmware-installer/3.0.0/vmis/core/component.py", line 14, in <module>
from gzip import GzipFile
File "/usr/lib/vmware-installer/3.0.0/python/lib/gzip.py", line 9, in <module>
import zlib
ModuleNotFoundError: No module named 'zlib'

Reply
0 Kudos
3 Replies
scott28tt
VMware Employee
VMware Employee

Thread reported so moderators know it should be moved to the area for OVFTool.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
tedx
Contributor
Contributor

I had an older Workstation installed and after uninstalling it the ovftool installed without issue.

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

You should mark your most recent comment as the solution from the "3 dots" menu to the right.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos