Hello,
I would not use cygwin for Python or spyder on Windows.
On the website (
https://code.google.com/p/spyderlib/) is suggested
to use either native Python
or Python(x,y) or WinPython or Anaconda.
I had good experiences using WinPython
(
http://winpython.sourceforge.net/).
After installing WinPython you can use easy_install to install any
pure Python package from the
WinPython Command Prompt.
easy_install <package_name>
This might not work with iminuit, though, because it is not a pure
python package.
My suggestion for using packages like iminuit, that do not exist
in a version that was compiled
for windows is to leave windows (too many problems) and use Ubuntu
in a virtual machine.
Compiling on Windows is difficult, on Linux very easy.
Best regards:
Uwe Fechner