zeth / inputs

Cross-platform Python support for keyboards, mice and gamepads
BSD 3-Clause "New" or "Revised" License
273 stars 88 forks source link

Inputs Does Not Work on python 3.7 on Conda and Windows #60

Open frastlin opened 5 years ago

frastlin commented 5 years ago

Hello, On Windows (I don't know about other platforms), create a new environment in conda, install inputs, and run the keyboard_example.py:

conda create --name test1 python=3.7 pip install inputs python keyboard_example.py

press any key and nothing happens. On python 3.5 and 3.6 the example works perfectly. Here are the changes in python 3.7 Maybe "PEP 563: Postponed Evaluation of Annotations" is effecting the decorators? But I am just making a wild guess here. I don't see any async or await keywords used anywhere which looks to be the only breaking compatibility between 3.6 and 3.7.

GOMMB commented 5 years ago

Are there any updates on support for Python 3.7?