Cygwin doesn't display Python output

2

I installed Cygwin through https://cygwin.com/setup-x86_64.exe and using all the default settings.

Cygwin doesn't display Python output:

enter image description here

I would have expected instead:

enter image description here

What could the issue be?

I use Windows 7 SP1 x64 Ultimate, Cygwin installed through setup.exe version 2.883 (64-bit), and Python 2.7.12 :: Anaconda 2.3.0 (64-bit) (that is the default version of python in Cygwin).

enter image description here

Franck Dernoncourt

Posted 2018-01-02T05:36:04.367

Reputation: 13 518

1Are you using windows python from cygwin? – CodeIt – 2018-01-02T06:19:23.203

@CodeIt I didn't know that was possible, but that sounds likely. How to check? I do have the same python version on Windows, so I am pretty sure you're right. – Franck Dernoncourt – 2018-01-02T06:20:20.443

1This might help you. – CodeIt – 2018-01-02T06:23:15.997

1@FranckDernoncourt which python – DavidPostill – 2018-01-02T10:49:02.347

@DavidPostill Thanks, the output is /cygdrive/c/Anaconda/python so it's confirmed that Codelt was correct. I wasn't aware that Cygwin was accessing Windows' PATH as fallback. That's good to know! – Franck Dernoncourt – 2018-01-02T21:17:26.067

No answers