Search code examples
python-3.xokta

ImportError: cannot import name 'UsersClient'


cannot import UsersClient from okta

installed

  • python 3.6
  • okta 1.0.3
line 4:  from okta import UsersClient

okta_client = UsersClient("https://xxxx.okta.com", "XXXXX...")

File "/Users/vikkes/garage/borse/backend/src/app.py", line 4, in from okta import UsersClient ImportError: cannot import name 'UsersClient'


Solution

  • The okta version is the problem. The code works with the older okta version. Use okta version 0.0.4.