This indicates some incompatibility between the Qt5 version and the OpenSSL library on your system. Please ensure you install both from the official package repositories.
Mint 21.3 is based on Ubuntu 22.04, and that holds Qt5 version 5.15.3 and PyQt 5.15.6 in its repository. The logs show Qt 5.15.2 and PyQt 5.15.9.
This indicates you have installed both PyQt5 and Qt5 from other sources, and the installed version is not binary compatible with the locally installed openssl. Typical reasons for this are having installed PyQt5 using pip or the Anaconda Python distribution.