ImportError: No module named Cython.Distutils
Your sudo is not getting the right python. This is a known behaviour of sudo in Ubuntu. See this question for more info. You need to make sure that sudo calls the right python, either by using the full path: or by doing the following (in bash):