Python 3.8 in Cygwin

I've been using Cygwin on a Windows 7 machine for a long time. Recently trying to install a project from git and virtualenv defaults to python 2.7 I have python3.6m installed, but when I execute the python3 binary, nothing happens. Nothing.

Apparently it is the binary:

$ file /usr/bin/python3.8.exe
/usr/bin/python3.8.exe: PE32+ executable (console) x86-64, for MS Windows

I don't understand what's going on here. Anyone have some insight other than a wild-ass guess?

UPDATE 2020-07-09 21:24

At this point the project and virtualenv are no longer the issue. My installation of python36 and 37 in cygwin is not responding to the call to execute.

$ python3
[33/5029] (user@MACHINE): 2020-07-09 21:22:03 /cygdrive/k/tmp

That's what it looks like.

This is what's in my cygwin installation:

$ ls -l /usr/bin/pyth*
lrwxrwxrwx 1 User None 13 2018-02-13 03:58:20 /usr/bin/python -> python2.7.exe
lrwxrwxrwx 1 User None 13 2018-02-13 03:58:20 /usr/bin/python2 -> python2.7.exe
-rwxr-xr-x 1 User None 9235 2017-10-31 19:14:56 /usr/bin/python2.7.exe
lrwxrwxrwx 1 User None 14 2018-02-13 03:58:28 /usr/bin/python3 -> python3.6m.exe
lrwxrwxrwx 1 User None 14 2019-07-21 11:38:16 /usr/bin/python3.6 -> python3.6m.exe
-rwxr-xr-x 1 User None 9747 2019-07-21 11:38:23 /usr/bin/python3.6m.exe
-rwxr-xr-x 1 User None 9235 2020-05-23 06:57:40 /usr/bin/python3.8.exe
lrwxrwxrwx 1 User None 52 2018-05-08 22:15:21 /usr/bin/pythontex -> /usr/share/texmf-dist/scripts/pythontex/pythontex.py

I switch directly into the /usr/bin directory

$ u /usr/bin/
/usr/bin /cygdrive/k/tmp
[35/5031] (user@MACHINE): 2020-07-09 21:27:52 /usr/bin
$ ./python3.8.exe
[36/5032] (user@MACHINE): 2020-07-09 21:28:10 /usr/bin
$

This is a copy of the line by line output as anyone canne see from the history numbering.

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like