vendredi 24 octobre 2014

[Python] pip install : gcc: error: unrecognized command line option '-mno-cygwin'

If you are on Windows and get this message :
gcc: error: unrecognized command line option '-mno-cygwin'
when you type pip install greenlet (or another lib)

Then you must :
- edit or create C:\PythonXX\Lib\distutils\cygwinccompiler.py and remove any traces of -mno-cygwin

- open an new cmd and type again your pip install greenlet (or another lib)

Have fun
:o)

Aucun commentaire:

Categories