changed 'from distutils ' to 'from distutils.core' since it worked on my ubuntu machine ,awaiting your feedback