Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102730

Re: Cygwin and Python3

Newsgroups comp.lang.python
Date 2016-02-09 11:29 -0800
References <n9d4r9$9s2$1@gioia.aioe.org>
Message-ID <09fc58ce-8106-4266-8a3d-13b1dfcedc90@googlegroups.com> (permalink)
Subject Re: Cygwin and Python3
From alvin.hacopian@gmail.com

Show all headers | View raw


On Tuesday, February 9, 2016 at 8:41:43 AM UTC-8, Fillmore wrote:
> Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter).
> The command will hang and nothing happens.
> 
> A cursory search on the net reveals many possibilities, which might mean a lot
> of trial and error, which I would very much like to avoid.
> 
> Any suggestions on how I can get cygwin and Python3.5 to play together like brother and sister?
> 
> thanks

Please see bellow:
$ whereis python
python: /usr/bin/python /usr/bin/python2.7-config /usr/bin/python3.2 /usr/bin/python3.2m-config /usr/lib/python2.6 /usr/lib/python2.7 /usr/lib/python3.2 /usr/local/bin/python /usr/local/bin/python2.7 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/include/python3.2m /usr/share/man/man1/python.1.gz

$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Vim/vim73:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64:/cygdrive/c/Program Files (x86)/Skype/Phone:/cygdrive/c/opscode/chef/bin:/cygdrive/c/opscode/chef/embedded/bin:/opt/apache2/bin:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/usr/sbin:/usr/lib/lapack

$ ls -l /usr/bin/python
rm /usr/bin/python

$ ln -s /usr/bin/python /usr/bin/python3.2m.exe

$ /usr/bin/python --version
Python 3.2.5

$  pydoc modules

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cygwin and Python3 Fillmore <fillmore_remove@hotmail.com> - 2016-02-09 11:41 -0500
  Re: Cygwin and Python3 alvin.hacopian@gmail.com - 2016-02-09 11:29 -0800
    Re: Cygwin and Python3 Fillmore <fillmore_remove@hotmail.com> - 2016-02-09 15:19 -0500
      Re: Cygwin and Python3 alvin.hacopian@gmail.com - 2016-02-09 12:30 -0800
        Re: Cygwin and Python3 Fillmore <fillmore_remove@hotmail.com> - 2016-02-09 16:47 -0500
          Re: Cygwin and Python3 Fillmore <fillmore_remove@hotmail.com> - 2016-02-09 17:36 -0500
  Re: Cygwin and Python3 Larry Hudson <orgnut@yahoo.com> - 2016-02-09 19:26 -0800
    Re: Cygwin and Python3 Mike S <mscir@yahoo.com> - 2016-02-09 19:39 -0800
      Re: Cygwin and Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-10 13:05 +0000
        Re: Cygwin and Python3 Mike S <mscir@yahoo.com> - 2016-02-10 15:05 -0800
          Re: Cygwin and Python3 blindanagram@nowhere.net - 2016-02-11 07:46 +0000
            Re: Cygwin and Python3 Mike S <mscir@yahoo.com> - 2016-02-11 01:21 -0800
            Re: Cygwin and Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-11 13:20 +0000
    Re: Cygwin and Python3 Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2016-02-10 22:26 +0100
      Re: Cygwin and Python3 Terry Reedy <tjreedy@udel.edu> - 2016-02-10 16:59 -0500
        Re: Cygwin and Python3 Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2016-02-11 19:18 +0100
          Re: Cygwin and Python3 alvin.hacopian@gmail.com - 2016-02-11 12:40 -0800

csiph-web