I’m installing CyberPanel on Hetzner using Ubuntu 22.04.
Downloading decorator-3.4.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in decorator setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 1 times
Wait for 3 seconds and try again...
That’s exactly where the problem is, the version I use is Ubuntu 22.04 LTS and nothing else.
I tried using CentOS 8, AlmaLinux and the problems are the same.
Only by installing the server and running the package update and then installing CyberPanel do errors appear during the installer.
I have the same problem.
Tried alma, then rocky. it is just plain OS install, run the command and got this error.
It is not good to welcome with these errors right from the first step!
Is there a way to fix this issue?