I would like to install openconnect-ssh. The install instructions from the project seem complex, I'm not sure what pipx
is.
How do I install openconnect-sso on Ubuntu without using pipx and using native Ubuntu qt libraries?
I tried to install it using pip
, but I got the following errors:
Traceback (most recent call last):
File "/home/merlijn/.local/bin/openconnect-sso", line 5, in <module>
from openconnect_sso.cli import main
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/cli.py", line 10, in <module>
from openconnect_sso import app, config, __version__
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/app.py", line 16, in <module>
from openconnect_sso.authenticator import Authenticator, AuthResponseError
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/authenticator.py", line 6, in <module>
from openconnect_sso.saml_authenticator import authenticate_in_browser
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/saml_authenticator.py", line 3, in <module>
from openconnect_sso.browser import Browser
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/__init__.py", line 1, in <module>
from .browser import Browser, DisplayMode, Terminated
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/browser.py", line 5, in <module>
from . import webengine_process as web
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/webengine_process.py", line 12, in <module>
from PyQt5.QtCore import QUrl, QTimer
ModuleNotFoundError: No module named 'PyQt5'
Traceback (most recent call last):
File "/home/merlijn/.local/bin/openconnect-sso", line 5, in <module>
from openconnect_sso.cli import main
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/cli.py", line 10, in <module>
from openconnect_sso import app, config, __version__
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/app.py", line 16, in <module>
from openconnect_sso.authenticator import Authenticator, AuthResponseError
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/authenticator.py", line 6, in <module>
from openconnect_sso.saml_authenticator import authenticate_in_browser
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/saml_authenticator.py", line 3, in <module>
from openconnect_sso.browser import Browser
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/__init__.py", line 1, in <module>
from .browser import Browser, DisplayMode, Terminated
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/browser.py", line 5, in <module>
from . import webengine_process as web
File "/home/merlijn/.local/lib/python3.9/site-packages/openconnect_sso/browser/webengine_process.py", line 14, in <module>
from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineScript, QWebEngineProfile
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'