Python 2.7.2 for Windows reports version as 2.7.0?

Benjamin Kaplan benjamin.kaplan at case.edu
Fri Jun 17 21:47:17 EDT 2011


On Fri, Jun 17, 2011 at 5:55 PM,  <python at bdurham.com> wrote:
> Just installed the 32-bit version Python 2.7.2 for Windows via the
> python-2.7.2.msi download.
>
> When I start Python via python.exe or Idle, the version info is reported as
> 2.7.0 vs. 2.7.2.
>
> Python 2.7 (r27:82525, Jul  4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on
> win
> 32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
>>>> sys.version_info
> sys.version_info(major=2, minor=7, micro=0, releaselevel='final', serial=0)
>>>>
>
> Here's the info on python.exe
>
> 06/12/2011  03:09 PM            26,624 python.exe
> 06/12/2011  03:06 PM            27,136 pythonw.exe
>
> Is this a bug or did I upgrade my version of Python 2.7 wrong?
>
> Thank you,
> Malcolm

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.



More information about the Python-list mailing list