Same problem.
root@xxx:~# btpip install pyOpenSSL -I
Collecting pyOpenSSL
Using cached pyOpenSSL-24.0.0-py3-none-any.whl (58 kB)
Collecting cryptography<43,>=41.0.5
Using cached cryptography-42.0.2-cp37-abi3-manylinux_2_28_x86_64.whl (4.7 MB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Installing collected packages: pycparser, cffi, cryptography, pyOpenSSL
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aliyun-python-sdk-core 2.13.30 requires cryptography<3.3,>=2.9.2, but you have cryptography 42.0.2 which is incompatible.
Successfully installed cffi-1.15.1 cryptography-42.0.2 pyOpenSSL-24.0.0 pycparser-2.21
WARNING: You are using pip version 20.3.3; however, version 24.0 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.