Error while installing cyberpanel on centos

i get this error when i try to install cyber panel after selecting all the options

[06.14.2024_09-32-32] #########################################################################

[06.14.2024_09-32-32] Running: dnf install -y openlitespeed

[06.14.2024_09-32-32] #########################################################################

Traceback (most recent call last):
  File "install.py", line 2626, in <module>
    main()
  File "install.py", line 2507, in main
    mysqlhost, mysqldb, mysqluser, mysqlpassword, mysqlport)
  File "/root/cyberpanel/install/installCyberPanel.py", line 799, in Main
    installer.installLiteSpeed()
  File "/root/cyberpanel/install/installCyberPanel.py", line 121, in installLiteSpeed
    install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
  File "/root/cyberpanel/install/install.py", line 251, in call
    res = subprocess.call(shlex.split(command))
  File "/usr/lib64/python3.6/subprocess.py", line 287, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dnf': 'dnf'
Oops, something went wrong...

which version of centos?

CentOS Linux release 7.9.2009 (Core)

hi whats the issue ? please let me know

Run the foollowing to bypass it.

yum install dnf

rerun the installer.

Better option: Check my comment here