First installation

I am trying to install cyberpanel on a Almalinux VPS for a client. Getting stuck at following part:

Collecting decorator==3.4.0
Using cached decorator-3.4.0.tar.gz (30 kB)
Preparing metadata (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-3v6wyo4m/decorator_bc249c84d59d4490a59eac7ba0d2ce17/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-3v6wyo4m/decorator_bc249c84d59d4490a59eac7ba0d2ce17/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-pip-egg-info-bwsg0993
cwd: /tmp/pip-install-3v6wyo4m/decorator_bc249c84d59d4490a59eac7ba0d2ce17/
Complete output (1 lines):
error in decorator setup command: use_2to3 is invalid.

WARNING: Discarding https://files.pythonhosted.org/packages/f3/26/876d492f2394f29401eb652ddfa53dec2bc8721861c7fe0dce1b5d0d2b6a/decorator-3.4.0.tar.gz#sha256=c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783 (from Links for decorator). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement decorator==3.4.0 (from versions: 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.2, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.6, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.1.0, 4.1.1, 4.1.2, 4.2.1, 4.3.0, 4.3.1, 4.3.2, 4.4.0, 4.4.1, 4.4.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.1.0, 5.1.1)
ERROR: No matching distribution found for decorator==3.4.0

pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 2 times

How do I solve this issue?

I changed the version and then was able to proceed but now stuck at following area:

Retrieving http://rpms.litespeedtech.com/centos/litespeed-repo-1.2-1.el7.noarch.rpm
Preparing… ################################# [100%]
package litespeed-repo-1.2-1.el7.noarch is already installed

[09.08.2023_07-15-41] #########################################################################

[09.08.2023_07-15-42] [ERROR] We are not able to run rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.2-1.el7.noarch.rpm return code: 1. Fatal error, see /var/log/installLogs.txt for full details.

what is the version of your Almalinux?

1 Like