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


Groups > comp.lang.python > #7937

Re: Python 2.7.2 for Windows reports version as 2.7.0?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skippy.hammond@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'sys': 0.05; 'subject:Python': 0.06; 'path,': 0.07; 'subject:version': 0.07; 'whichever': 0.07; 'python': 0.08; '>>>>': 0.09; 'msi': 0.09; 'pm,': 0.10; '>>>': 0.12; 'wrote:': 0.14; 'exe': 0.16; 'from:name:mark hammond': 0.16; 'install.': 0.16; 'python.exe': 0.16; 'received:192.168.0.9': 0.16; 'reply-to:addr:mhammond': 0.16; 'reply-to:addr:skippinet.com.au': 0.16; 'running:': 0.16; 'cc:addr:python-list': 0.17; 'subject:Windows': 0.20; 'header:In- Reply-To:1': 0.21; 'seems': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'somehow': 0.23; 'vs.': 0.23; 'wonder': 0.23; 'checked': 0.25; 'reporting': 0.26; 'tried': 0.27; "i'm": 0.27; 'correct': 0.28; 'installed': 0.28; 'subject:?': 0.29; 'import': 0.29; 'version': 0.29; 'cc:addr:python.org': 0.30; '"python"': 0.30; 'exists,': 0.30; 'malcolm': 0.30; 'entry': 0.31; 'calling': 0.31; 'anyone': 0.32; 'install': 0.34; 'file': 0.34; 'header:User- Agent:1': 0.35; 'dll': 0.35; 'received:74.125.83.174': 0.35; 'received:mail-pv0-f174.google.com': 0.35; 'else': 0.35; 'using': 0.35; 'message-id:@gmail.com': 0.36; 'folder': 0.36; 'running': 0.37; 'received:google.com': 0.37; 'think': 0.38; 'received:74.125': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'received:192': 0.38; 'correctly': 0.39; 'report': 0.40; 'within': 0.60; 'your': 0.60; 'full': 0.63; 'skip:w 40': 0.67; 'header :Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; '03:09': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9Wh/kYZuaOCzKSggeMro/ms/qiacWSNeXaw3fyjBUbg=; b=Sp51uryz16HVMRTOHLePcemgwIyIwAdAlqrvCVtpFCJbBKq/FUJvsYH2rFyA/Ls0Gz HUlyfM2NdmzZ56atftej3iEKY1OFZKFtdeP2X0kwGjdHg4ccMfj92fet3rYYYOJSFHHf zn3iJDvkX5sCnqrYcxioY0u70e4tU8tG8iKdM=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZHYrX8yW7qN70tffe7fWoHPIjIlUld/2gmLvPuvfKLNxdR4TX7agnLZKKY/91bSDbA Ivk98CY4xU1r5pglrSrVKtmU3Q8UXeLyZ8DHhDrId8WeLQFrp79Zp0kVFSDqmonZYkTO oTjitpgm+vi6Lf2m/C0hFbTMT+QxIGNrLOkHg=
Date Sun, 19 Jun 2011 12:03:50 +1000
From Mark Hammond <skippy.hammond@gmail.com>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version 1.0
To python@bdurham.com
Subject Re: Python 2.7.2 for Windows reports version as 2.7.0?
References <1308358550.17680.1464439673@webmail.messagingengine.com> <BANLkTimLcJNV2+P8HVRoYPRDJihu7oP1yw@mail.gmail.com> <1308368168.21764.1464464325@webmail.messagingengine.com>
In-Reply-To <1308368168.21764.1464464325@webmail.messagingengine.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To mhammond@skippinet.com.au
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.138.1308449081.1164.python-list@python.org> (permalink)
Lines 49
NNTP-Posting-Host 82.94.164.166
X-Trace 1308449081 news.xs4all.nl 49176 [::ffff:82.94.164.166]:34723
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7937

Show key headers only | View raw


On 18/06/2011 1:36 PM, python@bdurham.com wrote:
> Hi Benjamin,
>
>> The file info is seems correct but I just checked the MSI and it's
> reporting that it's 2.7.2. How exactly are you running python.exe and
> IDLE- are you calling the full path, just calling "python" and using
> whichever python version is first on your path, or are you using an
> entry in the start menu? The only thing I can think of is that your
> 2.7.0 install is in a different location than your 2.7.2 install. So
> 2.7.2 installed correctly but you're still running the old one.
>
> Within the folder where the python.exe exists, I have tried the
> following, all of which report Python 2.7.0 vs. 2.7.2
>
> python
> python.exe
> c:\python27
>
> Confirming I'm running what I think I'm running:
>
>>>> import sys
>>>> sys.hexversion
> 34013424
>>>> sys.executable
> 'C:\\Python27\\python.exe'
>>>>
>
> And confirming the exe files in my Python27 folder:
>
>   Directory of C:\Python27
>
> 06/12/2011  03:09 PM            26,624 python.exe
> 06/12/2011  03:06 PM            27,136 pythonw.exe
>
> Anyone else having the same experience?
>
> Malcolm

The version info comes from the DLL - I wonder if the DLL being found is 
somehow old?

Make sure:

 >>> import sys
 >>> win32api.GetModuleFileName(sys.dllhandle)

Is the DLL you expect.

Mark

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


Thread

Re: Python 2.7.2 for Windows reports version as 2.7.0? Mark Hammond <skippy.hammond@gmail.com> - 2011-06-19 12:03 +1000

csiph-web