pipx applications that are dependent on other modules installed in the system, need to have those modules preinstalled into the pipx virtual environment:
pipx
pipx install --preinstall pyqt5 --preinstall cryptography Electrum-4.5.8.tar.gz