Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'PIN_POLICY' from 'ykman.piv' #2

Open
slayer opened this issue May 31, 2023 · 0 comments
Open

ImportError: cannot import name 'PIN_POLICY' from 'ykman.piv' #2

slayer opened this issue May 31, 2023 · 0 comments

Comments

@slayer
Copy link

slayer commented May 31, 2023

 ❯ google-yubikey generate-key
Traceback (most recent call last):
  File "/opt/homebrew/bin/google-yubikey", line 5, in <module>
    from google_yubikey.__main__ import main
  File "/opt/homebrew/lib/python3.11/site-packages/google_yubikey/__main__.py", line 11, in <module>
    from ykman.piv import PIN_POLICY, TOUCH_POLICY, SLOT
ImportError: cannot import name 'PIN_POLICY' from 'ykman.piv' (/opt/homebrew/lib/python3.11/site-packages/ykman/piv.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant