I’m trying to install CyberPanel on my Ubuntu 22.04 VPS server (which I purchased to host an ASPDOTNET Core web application), but I’m running into an error during the installation process. What I have tried so far:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python3-pip python3-dev python3-setuptools build-essential libssl-dev
pip install --upgrade pip
pip install decorator==4.4.2
# CyberPanel install script
sh <(curl cyberpanel[dot]net/install.sh || wget -O - cyberpanel[dot]net/install.sh)
But the installer still throws this error:
Using cached decorator-3.4.0.tar.gz (30 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> error in decorator setup command: use_2to3 is invalid.
…
pip install --default-timeout=3600 -r /usr/local/requirments.txt has failed for 3 times
My Setup:
- OS : Ubuntu 22.04
- Purpose : To use CyberPanel primarily for setting up email
- Web stack : ASPdotNET Core hosted via Apache
What is the basic reason of this error how to resolve this? Thanks.