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

unsupported operand type(s) for |: 'EnumMeta' and 'types.GenericAlias' #89

Open
viccallan opened this issue Jan 20, 2025 · 2 comments
Open

Comments

@viccallan
Copy link

The rest of the installation seems to have gone well however.
When I run.py it doesn't prompt me to input the key combination before immediately giving me the error. I'm fine with the default key combinations. How can I get pat this? Please

(venv) C:\Users\me\Documents\GitHub\whisper-writer>python run.py
Starting WhisperWriter...
Traceback (most recent call last):
File "C:\Users\me\Documents\GitHub\whisper-writer\src\main.py", line 10, in
from key_listener import KeyListener
File "C:\Users\me\Documents\GitHub\whisper-writer\src\key_listener.py", line 245, in
class KeyChord:
File "C:\Users\me\Documents\GitHub\whisper-writer\src\key_listener.py", line 250, in KeyChord
def init(self, keys: Set[KeyCode | frozenset[KeyCode]]):
TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'types.GenericAlias'

Thank you
Nadine

@viccallan
Copy link
Author

I forgot Windows 10 I have an amd radeon rx 580 GPU

@mindriven
Copy link

Seeing same on macos sequoia 15.1

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

2 participants