Fix a Python3 compatibility issue
Update requirements installation for travis