Python 2.7 has issues with unicode. This may not help, but try adding the following line to the top of your python code before any imports:
from __future__ import (unicode_literals, division, absolute_import, print_function)
Note: You may only need the unicode_literals part.
|