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


Groups > comp.lang.python > #30842

Re: Coexistence of Python 2.x and 3.x on same OS

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'win32': 0.03; 'subject:Python': 0.05; 'executable': 0.07; 'granted,': 0.07; 'scripts': 0.09; 'python': 0.09; 'edward': 0.09; 'path,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:same': 0.09; 'tcl': 0.09; '(well,': 0.16; '2.7.2': 0.16; 'dlls': 0.16; 'inc.)': 0.16; 'installs': 0.16; 'libs': 0.16; 'numbered': 0.16; 'oct': 0.16; 'really?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'bytes': 0.17; '>>>': 0.18; 'windows': 0.19; 'skip:p 30': 0.20; 'versions': 0.20; 'preferred': 0.20; 'bit': 0.21; 'doc': 0.22; "i'd": 0.22; 'installation': 0.23; 'plain': 0.27; 'header:X-Complaints-To:1': 0.28; 'install': 0.29; 'fri,': 0.30; 'directory,': 0.33; 'ordered': 0.33; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'data': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'first': 0.61; 'free': 0.61; 'different': 0.63; 'skip:n 10': 0.63; 'more': 0.63; '****': 0.65; 'serial': 0.66; 'distinguish': 0.84; 'dennis': 0.91; 'received:108': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Coexistence of Python 2.x and 3.x on same OS
Date Fri, 05 Oct 2012 17:32:32 -0400
Organization > Bestiaria Support Staff <
References <k4a5m9$l2k$1@dont-email.me> <e8jas.240866$uJ4.171815@fx18.am4> <k4mj13$fof$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-218-239.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1874.1349472742.27098.python-list@python.org> (permalink)
Lines 93
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349472742 news.xs4all.nl 6888 [2001:888:2000:d::a6]:50894
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30842

Show key headers only | View raw


On Fri, 05 Oct 2012 08:15:30 -0400, Edward Diener
<eldiener@tropicsoft.invalid> declaimed the following in
gmane.comp.python.general:

> 
> Windows installs of Python do not distinguish releases by Pythonx(.x) 
> but just install different versions of Python in different directories. 

	Really? 

E:\Python27>dir
 Volume in drive E is Data
 Volume Serial Number is 2626-D991

 Directory of E:\Python27

08/28/2012  05:32 PM    <DIR>          .
08/28/2012  05:32 PM    <DIR>          ..
08/28/2012  02:11 PM    <DIR>          DLLs
08/28/2012  05:43 PM    <DIR>          Doc
08/28/2012  02:11 PM    <DIR>          include
08/31/2012  04:58 PM    <DIR>          Lib
08/28/2012  02:11 PM    <DIR>          libs
08/28/2012  02:15 PM           108,255 matplotlib-wininst.log
08/28/2012  02:18 PM             4,169 MySQL-python-wininst.log
08/28/2012  02:15 PM            98,498 numpy-wininst.log
08/28/2012  02:20 PM            17,816 PIL-wininst.log
08/28/2012  03:29 PM             1,572 PyOpenGL-accelerate-wininst.log
08/28/2012  03:38 PM             3,009 pyserial-wininst.log

06/24/2011  12:38 PM            27,136 python.exe		****
06/24/2011  12:38 PM            27,136 python2.7.exe	****
06/24/2011  12:38 PM            27,136 python2.exe	****

08/28/2012  05:32 PM            90,943 PythonCard-wininst.log

06/24/2011  12:38 PM            27,136 pythonw.exe	****
06/24/2011  12:38 PM            27,136 pythonw2.7.exe	****
06/24/2011  12:38 PM            27,136 pythonw2.exe	****

08/28/2012  02:15 PM           196,096 Removematplotlib.exe
08/28/2012  02:18 PM           196,096 RemoveMySQL-python.exe
08/28/2012  02:15 PM           196,096 Removenumpy.exe
08/28/2012  02:20 PM           196,096 RemovePIL.exe
08/28/2012  03:29 PM           196,096 RemovePyOpenGL-accelerate.exe
08/28/2012  03:38 PM           196,096 Removepyserial.exe
08/28/2012  05:32 PM            61,440 RemovePythonCard.exe
08/28/2012  02:20 PM           196,096 Removereportlab.exe
08/28/2012  02:19 PM           196,096 Removescipy.exe
08/28/2012  05:29 PM           196,096 RemoveWConio.exe
08/28/2012  02:20 PM            40,362 reportlab-wininst.log
08/28/2012  02:19 PM           159,420 scipy-wininst.log
08/28/2012  05:32 PM    <DIR>          Scripts
08/28/2012  02:11 PM    <DIR>          tcl
08/28/2012  02:11 PM    <DIR>          Tools
11/28/2007  04:32 PM           258,352 unicows.dll
06/24/2011  12:38 PM            49,664 w9xpopen.exe
08/28/2012  05:29 PM               891 WConio-wininst.log
              28 File(s)      2,822,071 bytes
              10 Dir(s)  148,557,684,736 bytes free

E:\Python27>

	That's what was set up by a recent ActiveState installer (well,
recent for me -- I'd still been using 2.5 three months ago)

	Yes, it IS in a version numbered directory, but there are copies of
the executable named as plain python, pythonX, and pythonX.Y

E:\Python27>cd %homepath%

E:\UserData\Wulfraed\My Documents>python
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z


E:\UserData\Wulfraed\My Documents>python2.7
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

	Granted, one would need to have each installation directory in the
PATH, ordered such that the preferred version would be found first when
using just "python".
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-09-30 15:14 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-30 14:38 -0500
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-09-30 23:06 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-30 22:54 -0500
      Re: Coexistence of Python 2.x and 3.x on same OS Dave Angel <d@davea.name> - 2012-09-30 23:55 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 09:28 +0100
      Re: Coexistence of Python 2.x and 3.x on same OS Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-01 13:32 -0400
        Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:06 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS David Robinow <drobinow@gmail.com> - 2012-10-01 15:36 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 20:46 +0100
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:16 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS Alister <alister.ware@ntlworld.com> - 2012-10-01 16:02 +0000
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:15 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-05 13:29 +0100
      Re: Coexistence of Python 2.x and 3.x on same OS Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-05 17:32 -0400
        Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 20:51 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS wxjmfauth@gmail.com - 2012-10-06 00:27 -0700
    Re: Coexistence of Python 2.x and 3.x on same OS Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-06 21:13 -0600

csiph-web