python-keycloak icon indicating copy to clipboard operation
python-keycloak copied to clipboard

no module named keycloak

Open stealthrabbi opened this issue 4 years ago • 1 comments

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

stealthrabbi avatar Dec 15 '21 17:12 stealthrabbi

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.

SalemWafi avatar Feb 06 '22 16:02 SalemWafi