adminPass.py error in Cyberpanel 1.9.2 — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

adminPass.py error in Cyberpanel 1.9.2

[[email protected] ~]# python /usr/local/CyberCP/plogical/adminPass.py --password ZLCM8C3ODVKIX
Traceback (most recent call last):
File "/usr/local/CyberCP/plogical/adminPass.py", line 4, in
import django
ImportError: No module named django

Affter install django:

python -m pip install --upgrade pip setuptools ; python -m pip install django

[[email protected] ~]# python /usr/local/CyberCP/plogical/adminPass.py --password ZLCM8C3ODVKIX
Traceback (most recent call last):
File "/usr/local/CyberCP/plogical/adminPass.py", line 7, in
django.setup()
File "/usr/lib64/python2.7/site-packages/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib64/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/lib64/python2.7/site-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/plogical/tuning.py", line 2, in
from installUtilities import installUtilities
File "/usr/local/CyberCP/plogical/installUtilities.py", line 5, in
import pexpect
ImportError: No module named pexpect

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!