cyberpanel error

 ModuleNotFoundError: No module named ‘encodings’


resolved after installing multiple python


root@server:/etc# cd python

python2.7/  python3/    python3.10/ python3.11/ python3.7/  python3.8/


fatal error: Python.h: No such file or directory

sudo apt-get install python3.5-dev




cd /usr/local/bin


sudo apt-get install libmysqlclient-dev

 pip install mysql-python


sudo pip3 install Cython


 pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt


Troubleshooting

503 Error After Install

If you get a 503 error after installing CyberPanel, you can do one of the following things.

1. Check LSCPD Status.

systemctl status lscpd

If LSCPD is not running, start LSCPD using:

systemctl start lscpd

2. Manually set up virtualevn

source /usr/local/CyberCP/bin/activate
pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt
deactivate
virtualenv --system-site-packages /usr/local/CyberCP
systemctl restart lscpd

3. Install Logs

If you are still having issues after these steps, you can try to find errors in the install logs, they are located at:

/var/log/installLogs.txt




AttributeError: module 'sysconfig' has no attribute 'get_preferred_scheme' on Python


pip3 install --upgrade virtualenv



Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation