python-keycloak
python-keycloak copied to clipboard
no module named keycloak
Trying to run the example from the readme, and the import statement fails.
I ran pip install python-keycloak
Traceback (most recent call last):
File "keyclocak-test.py", line 1, in <module>
from keycloak import KeycloakOpenID
ImportError: No module named keycloak
did you run the pip install python-keycloak inside the python venv ?
If so, make sure you are using the python interpreter of the venv and not the global one.
Test that and hopefully it should be it.