Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7937 > unrolled thread
| Started by | Mark Hammond <skippy.hammond@gmail.com> |
|---|---|
| First post | 2011-06-19 12:03 +1000 |
| Last post | 2011-06-19 12:03 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Mark Hammond <skippy.hammond@gmail.com> |
|---|---|
| Date | 2011-06-19 12:03 +1000 |
| Subject | Re: Python 2.7.2 for Windows reports version as 2.7.0? |
| Message-ID | <mailman.138.1308449081.1164.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web