Python dependency conflicts - I can't upgrade my cyberpanel 2.3.4

Hi there, I can’t upgrade cyberpanel, here the info:

Current Version 2.0
Build 0
Latest Version 2.3
Latest Build 4

OS: Centos-7


upgrade command finish with this failure


ERROR: pip's dependency resolver does not currently take into account all the packages that are i                                                                                                                nstalled. This behaviour is the source of the following dependency conflicts.
certbot 0.21.1 requires acme==0.21.1, but you have acme 1.9.0 which is incompatible.
Successfully installed Babel-2.8.0 ConfigArgParse-1.2.3 Django-3.1.3 IPy-1.0 Jinja2-2.11.3 Markup                                                                                                                Safe-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-2                                                                                                                020.11.8 cffi-1.14.3 chardet-3.0.4 charset-normalizer-2.0.12 cloudflare-2.8.13 configobj-5.0.6 cr                                                                                                                yptography-3.2.1 decorator-4.4.2 docker-4.3.1 docker-pycreds-0.4.0 docutils-0.16 enum34-1.1.10 fi                                                                                                                lelock-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-proto                                                                                                                s-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 parseda                                                                                                                tetime-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 py                                                                                                                gpgme-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 rs                                                                                                                a-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-05-02 11:37:18--                                                                                                      
Resolving (,                                                                                                                33,, ...
Connecting to (||:443... conne                                                                                                                cted.
HTTP request sent, awaiting response... 200 OK
Length: 114564 (112K) [text/plain]
Saving to: ‘’

100%[=======================================================>] 114,564     --.-K/s   in 0.02s

2023-05-02 11:37:18 (5.38 MB/s) - ‘’ saved [114564/114564]

Traceback (most recent call last):
  File "/usr/local/CyberPanel/lib/python3.6/site-packages/MySQLdb/", line 18, in <modu                                                                                                                le>
    from . import _mysql
ImportError: /usr/local/CyberPanel/lib/python3.6/site-packages/MySQLdb/_mysql.cpython-36m-x86_64-                                                                                                       undefined symbol: SSL_get_error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 14, in <module>
    import MySQLdb as mysql
  File "/usr/local/CyberPanel/lib/python3.6/site-packages/MySQLdb/", line 24, in <modu                                                                                                                le>
    version_info, _mysql.version_info, _mysql.__file__
NameError: name '_mysql' is not defined
above command failed...


Happy New Year @mblendinger

Run in terminal

python3 -m pip uninstall acme

Then try an upgrade

thank you! not luck with this:

python3 -m pip uninstall acme
Cannot uninstall requirement acme, not installed
pip uninstall acme

also fails ?


Cannot uninstall requirement acme, not installed
You are using pip version 8.1.2, however version 23.1.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

pip install --upgrade pip
Cache entry deserialization failed, entry ignored
Collecting pip
Downloading (2.1MB)
100% |████████████████████████████████| 2.1MB 406kB/s
Complete output from command python egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-WEvbRk/pip/”, line 7
def read(rel_path: str) → str:
SyntaxError: invalid syntax


Command “python egg_info” failed with error code 1 in /tmp/pip-build-WEvbRk/pip/
You are using pip version 8.1.2, however version 23.1.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

Possibly the upgrade tried to change python wheels or something try within venv

python3 -m pip install -U pip