Zymkey AssertionError: bad return code -16

I had setup ZymBit with RasPi running Jessie. I was using the zymkey library to extract the key and it was working fine. To install some packages on the RasPi, I had to do a sudo apt-get update and upgrade. The binding still seems to hold as I am able to access the RasPi file system, but the python code to extract the key is giving an error - “AssertionError: bad return code -16”
The error message being generated is:

File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/zymkey/module.py”, line 62, in init
raise AssertionError(‘bad return code {!r}’.format(ret))
AssertionError: bad return code -16

However, the C library still works. This problem is only with the python library