This page includes some notes on getting a Hall Effect Motor Encoder to work.
See also: Installing the Python pigpio library