Search code examples
pythonpython-3.xcygwin

Why does Cygwin ignore python 3


I'm trying to run Python 3 on Cygwin (windows 8) but for some reason , It recognizes only Python 2. Can I separately download python and put it in same folder in the Cygwin folder in program files?


Solution

  • You must have the default version of python as a 2.x version instead of your 3.x version but this can be fixed by a quick system hack:

    Goto My Computer -----> System properties -----> Advanced System settings -----> Advanced -----> Environment Variables and then check if the variable path contains your python2 (default : C:\Python27) installation path if so remove it first and then replace it with your python3 (default : C:\Python33) installation directory