I had a similar problem with the (Traits) package a couple of weeks ago - for me it was because the package was trying to compile the extensions and I did not have Visual Studio. MinGW installation and direct Python worked for me to use as a compiler in the distutils.cfg configuration file in \ Lib \ distutils in your Python installation folder. It looks like this page can automate the whole process for you; if you prefer to do it manually here, the contents of my distutils.cfg:
[build]
compiler = mingw32
Restart setup.py and you should be good to go.
source share