Can't upgrade Cyberpanel to 2.3 Build 4

Hello,

I’m triying updagre my Cyberpanel but I have always this error and don’t upgrade. There are some trick to fix this issue and that I can upgrade CP. Tried this before but no luck:
pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt

OS: centos-7-x86_64

Current Version: 2.3
Build: 3
Current Commit: 7e18b8688c61266566d7d401c845701888b08a32
Latest Version: 2.3
Latest Build: 4
Latest Commit: 5d478e281bbd288c0f1ffbef83fbde215775c24b

I get this:

Branch name set to v2.3.4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1055 100 1055 0 0 1530 0 --:–:-- --:–:-- --:–:-- 1528
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 579 100 579 0 0 875 0 --:–:-- --:–:-- --:–:-- 875
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Retrieving https://cyberpanel.sh/repo.ius.io/ius-release-el7.rpm
warning: /var/tmp/rpm-tmp.sJGL8C: Header V4 RSA/SHA256 Signature, key ID 4b274df2: NOKEY
Preparing… ################################# [100%]
package ius-release-2-1.el7.ius.noarch is already installed
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
WARNING: Running pip install with root privileges is generally not a good idea. Try pip3.6 install --user instead.
Requirement already satisfied: virtualenv==16.7.9 in /usr/local/lib/python3.6/site-packages

No need to re-setup virtualenv at /usr/local/CyberPanel…

–2023-06-27 17:11:24-- https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.4/requirments.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 2606:50c0:8000::154, 2606:50c0:8001::154, 2606:50c0:8002::154, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1461 (1.4K) [text/plain]
Saving to: ‘/usr/local/requirments.txt’

100%[==========================================================>] 1,461 --.-K/s in 0s

2023-06-27 17:11:25 (28.2 MB/s) - ‘/usr/local/requirments.txt’ saved [1461/1461]

Requirement already satisfied: virtualenv==16.7.9 in /usr/local/CyberPanel/lib/python3.6/site-packages (16.7.9)
Collecting acme==1.9.0
Using cached acme-1.9.0-py2.py3-none-any.whl (42 kB)
Collecting asgiref==3.3.1
Using cached asgiref-3.3.1-py3-none-any.whl (19 kB)
Collecting asn1crypto==1.4.0
Using cached asn1crypto-1.4.0-py2.py3-none-any.whl (104 kB)
Collecting Babel==2.8.0
Using cached Babel-2.8.0-py2.py3-none-any.whl (8.6 MB)
Collecting backports.ssl-match-hostname==3.7.0.1
Using cached backports.ssl_match_hostname-3.7.0.1-py2.py3-none-any.whl
Collecting bcrypt==3.2.0
Using cached bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB)
Collecting beautifulsoup4==4.9.3
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting boto3==1.18.26
Using cached boto3-1.18.26-py3-none-any.whl (131 kB)
Collecting botocore==1.21.26
Using cached botocore-1.21.26-py3-none-any.whl (7.8 MB)
Collecting cachetools==4.1.1
Using cached cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting certifi==2020.11.8
Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Collecting cffi==1.14.3
Using cached cffi-1.14.3-cp36-cp36m-manylinux1_x86_64.whl (400 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting cloudflare==2.8.13
Using cached cloudflare-2.8.13-py3-none-any.whl
Collecting ConfigArgParse==1.2.3
Using cached ConfigArgParse-1.2.3-py3-none-any.whl
Collecting configobj==5.0.6
Using cached configobj-5.0.6-py3-none-any.whl
Collecting cryptography==3.2.1
Using cached cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)
Collecting decorator==4.4.2
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting Django==3.1.3
Using cached Django-3.1.3-py3-none-any.whl (7.8 MB)
Collecting docker==4.3.1
Using cached docker-4.3.1-py2.py3-none-any.whl (145 kB)
Collecting docker-pycreds==0.4.0
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting docutils==0.16
Using cached docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting enum34==1.1.10
Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
Collecting filelock==3.0.12
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting funcsigs==1.0.2
Using cached funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Collecting future==0.18.2
Using cached future-0.18.2-py3-none-any.whl
Collecting google-api-core==1.23.0
Using cached google_api_core-1.23.0-py2.py3-none-any.whl (91 kB)
Collecting google-api-python-client==1.12.5
Using cached google_api_python_client-1.12.5-py2.py3-none-any.whl (61 kB)
Collecting google-auth==1.23.0
Using cached google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
Collecting google-auth-httplib2==0.0.4
Using cached google_auth_httplib2-0.0.4-py2.py3-none-any.whl (9.1 kB)
Collecting google-auth-oauthlib==0.4.2
Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting googleapis-common-protos==1.52.0
Using cached googleapis_common_protos-1.52.0-py2.py3-none-any.whl (100 kB)
Collecting httplib2==0.18.1
Using cached httplib2-0.18.1-py3-none-any.whl (95 kB)
Collecting idna==2.10
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting ipaddress==1.0.23
Using cached ipaddress-1.0.23-py2.py3-none-any.whl (18 kB)
Collecting IPy==1.0
Using cached IPy-1.0-py3-none-any.whl
Collecting Jinja2==2.11.3
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting jmespath==0.10.0
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting josepy==1.5.0
Using cached josepy-1.5.0-py2.py3-none-any.whl (57 kB)
Collecting jsonlines==1.2.0
Using cached jsonlines-1.2.0-py2.py3-none-any.whl (7.6 kB)
Collecting jsonpatch==1.26
Using cached jsonpatch-1.26-py2.py3-none-any.whl (11 kB)
Collecting jsonpointer==2.0
Using cached jsonpointer-2.0-py2.py3-none-any.whl (7.6 kB)
Collecting MarkupSafe==1.1.1
Using cached MarkupSafe-1.1.1-cp36-cp36m-manylinux2010_x86_64.whl (32 kB)
Collecting mock==4.0.2
Using cached mock-4.0.2-py3-none-any.whl (28 kB)
Collecting mysqlclient==2.0.1
Using cached mysqlclient-2.0.1-cp36-cp36m-linux_x86_64.whl
Collecting oauthlib==3.1.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting paramiko==2.7.2
Using cached paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
Collecting parsedatetime==2.6
Using cached parsedatetime-2.6-py3-none-any.whl (42 kB)
Collecting pbr==5.5.1
Using cached pbr-5.5.1-py2.py3-none-any.whl (106 kB)
Collecting pysftp
Using cached pysftp-0.2.9-py3-none-any.whl
Collecting pexpect==4.8.0
Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting prettytable==1.0.1
Using cached prettytable-1.0.1-py2.py3-none-any.whl (22 kB)
Collecting protobuf==3.13.0
Using cached protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl (1.3 MB)
Collecting psutil==5.7.3
Using cached psutil-5.7.3-cp36-cp36m-linux_x86_64.whl
Collecting ptyprocess==0.6.0
Using cached ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
Collecting py3dns==3.2.1
Using cached py3dns-3.2.1-py3-none-any.whl
Collecting pyasn1==0.4.8
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules==0.2.8
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pycparser==2.20
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting pygpgme==0.3
Using cached pygpgme-0.3-cp36-cp36m-linux_x86_64.whl
Collecting PyNaCl==1.4.0
Using cached PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting pyOpenSSL==19.1.0
Using cached pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)
Collecting pyotp==2.4.1
Using cached pyotp-2.4.1-py2.py3-none-any.whl (11 kB)
Collecting pyRFC3339==1.1
Using cached pyRFC3339-1.1-py2.py3-none-any.whl (5.7 kB)
Collecting python-dateutil==2.8.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz==2020.4
Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting pyudev==0.22.0
Using cached pyudev-0.22.0-py3-none-any.whl
Collecting pyxattr==0.7.1
Using cached pyxattr-0.7.1-cp36-cp36m-linux_x86_64.whl
Collecting requests==2.26.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting requests-file==1.5.1
Using cached requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting requests-oauthlib==1.3.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting requests-toolbelt==0.9.1
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting rsa==4.6
Using cached rsa-4.6-py3-none-any.whl (47 kB)
Collecting s3transfer==0.5.0
Using cached s3transfer-0.5.0-py3-none-any.whl (79 kB)
Collecting six==1.15.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting soupsieve==2.0.1
Using cached soupsieve-2.0.1-py3-none-any.whl (32 kB)
Collecting sqlparse==0.4.2
Using cached sqlparse-0.4.2-py3-none-any.whl (42 kB)
Collecting tldextract==3.0.2
Using cached tldextract-3.0.2-py2.py3-none-any.whl (86 kB)
Collecting tornado==6.1
Using cached tornado-6.1-cp36-cp36m-manylinux2010_x86_64.whl (427 kB)
Collecting uritemplate==3.0.1
Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting urllib3==1.26.5
Using cached urllib3-1.26.5-py2.py3-none-any.whl (138 kB)
Collecting validators==0.18.1
Using cached validators-0.18.1-py3-none-any.whl (19 kB)
Collecting wcwidth==0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting websocket-client==0.57.0
Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
Collecting setuptools
Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
Collecting requests[security]>=2.6.0
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting requests[security]>=2.6.0
Using cached requests-2.27.0-py2.py3-none-any.whl (63 kB)
Installing collected packages: pycparser, six, setuptools, pyasn1, cffi, urllib3, rsa, python-dateutil, pyasn1-modules, protobuf, jmespath, idna, cryptography, charset-normalizer, certifi, cachetools, soupsieve, requests, pytz, pyOpenSSL, PyNaCl, oauthlib, httplib2, googleapis-common-protos, google-auth, botocore, bcrypt, websocket-client, wcwidth, uritemplate, sqlparse, s3transfer, requests-toolbelt, requests-oauthlib, requests-file, pyyaml, pyRFC3339, ptyprocess, paramiko, MarkupSafe, jsonpointer, jsonlines, josepy, google-auth-httplib2, google-api-core, filelock, decorator, beautifulsoup4, asgiref, validators, tornado, tldextract, pyxattr, pyudev, pysftp, pyotp, pygpgme, py3dns, psutil, prettytable, pexpect, pbr, parsedatetime, mysqlclient, mock, jsonpatch, Jinja2, IPy, ipaddress, google-auth-oauthlib, google-api-python-client, future, funcsigs, enum34, docutils, docker-pycreds, docker, Django, configobj, ConfigArgParse, cloudflare, chardet, boto3, backports.ssl-match-hostname, Babel, asn1crypto, acme
Successfully installed Babel-2.8.0 ConfigArgParse-1.2.3 Django-3.1.3 IPy-1.0 Jinja2-2.11.3 MarkupSafe-1.1.1 PyNaCl-1.4.0 acme-1.9.0 asgiref-3.3.1 asn1crypto-1.4.0 backports.ssl-match-hostname-3.7.0.1 bcrypt-3.2.0 beautifulsoup4-4.9.3 boto3-1.18.26 botocore-1.21.26 cachetools-4.1.1 certifi-2020.11.8 cffi-1.14.3 chardet-3.0.4 charset-normalizer-2.0.12 cloudflare-2.8.13 configobj-5.0.6 cryptography-3.2.1 decorator-4.4.2 docker-4.3.1 docker-pycreds-0.4.0 docutils-0.16 enum34-1.1.10 filelock-3.0.12 funcsigs-1.0.2 future-0.18.2 google-api-core-1.23.0 google-api-python-client-1.12.5 google-auth-1.23.0 google-auth-httplib2-0.0.4 google-auth-oauthlib-0.4.2 googleapis-common-protos-1.52.0 httplib2-0.18.1 idna-2.10 ipaddress-1.0.23 jmespath-0.10.0 josepy-1.5.0 jsonlines-1.2.0 jsonpatch-1.26 jsonpointer-2.0 mock-4.0.2 mysqlclient-2.0.1 oauthlib-3.1.0 paramiko-2.7.2 parsedatetime-2.6 pbr-5.5.1 pexpect-4.8.0 prettytable-1.0.1 protobuf-3.13.0 psutil-5.7.3 ptyprocess-0.6.0 py3dns-3.2.1 pyOpenSSL-19.1.0 pyRFC3339-1.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pygpgme-0.3 pyotp-2.4.1 pysftp-0.2.9 python-dateutil-2.8.1 pytz-2020.4 pyudev-0.22.0 pyxattr-0.7.1 pyyaml-6.0 requests-2.26.0 requests-file-1.5.1 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rsa-4.6 s3transfer-0.5.0 setuptools-59.6.0 six-1.15.0 soupsieve-2.0.1 sqlparse-0.4.2 tldextract-3.0.2 tornado-6.1 uritemplate-3.0.1 urllib3-1.26.5 validators-0.18.1 wcwidth-0.2.5 websocket-client-0.57.0
–2023-06-27 17:11:55-- https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.3.4/plogical/upgrade.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 2606:50c0:8002::154, 2606:50c0:8003::154, 2606:50c0:8001::154, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 118020 (115K) [text/plain]
Saving to: ‘upgrade.py’

100%[==========================================================>] 118,020 --.-K/s in 0.005s

2023-06-27 17:11:55 (24.5 MB/s) - ‘upgrade.py’ saved [118020/118020]

Traceback (most recent call last):
File “/usr/lib64/python2.7/site.py”, line 556, in

File “/usr/lib64/python2.7/site.py”, line 538, in main

File “/usr/lib64/python2.7/site.py”, line 266, in addusersitepackages

File “/usr/lib64/python2.7/site.py”, line 241, in getusersitepackages

File “/usr/lib64/python2.7/site.py”, line 231, in getuserbase

File “/usr/lib64/python2.7/sysconfig.py”, line 516, in get_config_var

File “/usr/lib64/python2.7/sysconfig.py”, line 449, in get_config_vars

File “/usr/lib64/python2.7/re.py”, line 105, in

File “/usr/lib64/python2.7/sre_compile.py”, line 1
: 0, TOTAL_PUB_CACHE_HITS: 0, PRIVATE_CACHE_HITS_PER_SEC: 0, TOTAL_PRIVATE_CACHE_HITS: 0, STATIC_HITS_PER_SEC: 0, TOTAL_STATIC_HITS: 0
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File “upgrade.py”, line 3072, in
main()
File “upgrade.py”, line 3068, in main
Upgrade.upgrade(args.branch)
File “upgrade.py”, line 2905, in upgrade
Upgrade.installedOutput = subprocess.check_output(shlex.split(command)).decode()
File “/usr/lib64/python3.6/subprocess.py”, line 356, in check_output
**kwargs).stdout
File “/usr/lib64/python3.6/subprocess.py”, line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘yum’, ‘list’, ‘installed’]’ returned non-zero exit status 1.
above command failed…

Hello @gasonline

Personally I would not care to debug anything centos 7. Can you migrate over to centos 8 or better yet AlmaLinux 8.4 or Ubuntu 20.04