So i downloaded the keyboard module for python 2.7 using
pip install keyboard.
After installing i tried to import it as such
im
This is a bug in Python that was caused in the 2.7 release line by https://bugs.python.org/issue27330 and fixed in https://bugs.python.org/issue29082 . It exists in 2.7.13 and is fixed in 2.7.14.
keyboard
triggers this bug by using from __future__ import unicode_literals in keyboard._winkeyboard.