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


Groups > comp.lang.python > #66171

Re: Install python 2 and 3 in the "wrong" order

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'assignment': 0.07; 'problem:': 0.07; 'reinstall': 0.09; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; '(it': 0.16; 'cmd': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'mine.': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'tjg': 0.16; 'subject:python': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'app': 0.19; 'settings': 0.22; 'install': 0.23; 'installation': 0.23; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'received:192.168.100': 0.24; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'skip:p 30': 0.29; 'apparently': 0.31; 'fine,': 0.31; 'question:': 0.31; 'file': 0.32; '(e.g.': 0.33; 'older': 0.33; 'third': 0.33; 'subject:the': 0.34; 'there': 0.35; 'to:addr :python-list': 0.38; 'files': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'simply': 0.61; 'today': 0.64; 'here': 0.66; 'from:addr:mail': 0.83; 'nagy': 0.84; 'x64': 0.84
Date Thu, 13 Feb 2014 11:59:05 +0000
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Install python 2 and 3 in the "wrong" order
References <52FCB228.5040301@shopzeus.com>
In-Reply-To <52FCB228.5040301@shopzeus.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6835.1392292756.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392292756 news.xs4all.nl 2941 [2001:888:2000:d::a6]:33892
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66171

Show key headers only | View raw


On 13/02/2014 11:53, Nagy László Zsolt wrote:
> I have Python 3.3 installed on my Windows 7 x64 box. Today I had to
> install Python 2.7 for an older app of mine.
> 
> Here is my problem: although "#!/usr/bin/env python3" is given in the
> file and "py -3" program works fine, apparently the installation of
> python 2 simply has overwritten my settings (e.g. assignment *.py files
> to py.exe).
> 
> Question: is there a way to fix this? Or do I have to reinstall Python 3
> from scratch? (It would be a pity, I have tons of third party modules
> installed for it...)

>From a cmd window:

ftype python.file="C:\Windows\py.exe" "%1" %*

ftype python.noconfile="C:\Windows\pyw.exe" "%1" %*

TJG

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


Thread

Re: Install python 2 and 3 in the "wrong" order Tim Golden <mail@timgolden.me.uk> - 2014-02-13 11:59 +0000

csiph-web