win64 support

Does anybody here have a XP 64-bit or Vista 64-bit system (amd64, not itanium) with the 64-bit Python 2.5 installed, and time to answer a few questions and help out a bit? I'm close to having an early preview (alpha) ready but need a guinea pig or two :wink:

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I am running on Vista 64-bit with an Intel Dual Core 2 (I think this counts as amd64? it's not an itanium I think). Right now I don't have 64-bit python 2.5 installed, but if it can be installed in parallel to the 32-bit version, I'll happily do that.

First guinea pig awaiting further instructions :slight_smile:

-Matthias

路路路

Am 13.08.2008, 23:59 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

Does anybody here have a XP 64-bit or Vista 64-bit system (amd64, not itanium) with the 64-bit Python 2.5 installed, and time to answer a few questions and help out a bit? I'm close to having an early preview (alpha) ready but need a guinea pig or two :wink:

Nitro wrote:

Does anybody here have a XP 64-bit or Vista 64-bit system (amd64, not itanium) with the 64-bit Python 2.5 installed, and time to answer a few questions and help out a bit? I'm close to having an early preview (alpha) ready but need a guinea pig or two :wink:

I am running on Vista 64-bit with an Intel Dual Core 2 (I think this counts as amd64? it's not an itanium I think).

Correct. There are lots of names for the 64-bit architectures, but IIUC it all boils down to two actual architectures. There's the Itanium chip with the ia64 architecture, which is designed for fully 64-bit OS and applications and which is not a superset of the 32-bit x86 instruction set (in fact it "differs dramatically") so you can't run 32-bit apps or OS on this architecture. The other is x86-64 invented by AMD and renamed to AMD64 (also known as x64 and a bunch of other names) and then cloned by Intel for their non-itanium 64-bit CPUs. This one is a superset of x86 so 32-bit apps and OS are able to be run on it.

Right now I don't have 64-bit python 2.5 installed, but if it can be installed in parallel to the 32-bit version, I'll happily do that.

I think it can be installed side-by-side (although I haven't tried it yet.) Just give it a different install folder and see what happens. At worst you'll just have to uninstall it and reinstall the 32-bit version so it can overwrite anything that got tromped on by the 64-bit install. I suggest that you select the "current user only" option or whatever it's called so it wont install the Python DLL into the system folder and possibly overwrite the 32-bit python25.dll that might already be there. [1] Before you do this however please see the tasks below.

First guinea pig awaiting further instructions :slight_smile:

First I'd like to see if some DLLs are already installed on your system. I forgot to check on mine so I'm not sure if they were already there or if they were installed when I installed Visual Studio or the Platform SDK.

Look in c:\Windows\system32 for these files: MSVCP60.DLL and MSVCRT.DLL If they are there then right click on them, go to properties and the version tab and let me know what the versions are. Also if you could tell me if they are 64-bit or 32-bit versions that would be great. One way to do that is to get the 64-bit version of the dependency walker tool from http://www.dependencywalker.com/ and drag the DLL into its window. It will show icons with a 64 on them for the 64-bit binaries.

Thanks!

[1] IIUC and if the installer did what it was supposed to then the 32-bit Python25.dll should have ended up in c:\WIndows\SysWOW64 instead, so it probably won't be a big deal either way.

路路路

Am 13.08.2008, 23:59 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Right now I don't have 64-bit python 2.5 installed, but if it can be installed in parallel to the 32-bit version, I'll happily do that.

I think it can be installed side-by-side (although I haven't tried it yet.) Just give it a different install folder and see what happens. At worst you'll just have to uninstall it and reinstall the 32-bit version so it can overwrite anything that got tromped on by the 64-bit install. I suggest that you select the "current user only" option or whatever it's called so it wont install the Python DLL into the system folder and possibly overwrite the 32-bit python25.dll that might already be there. [1] Before you do this however please see the tasks below.

I found this one here: [Python-Dev] Win64, 64 Bit Version and 32 Bit version parallel install not possible . Assuming it's not outdated, I'll rename my current python25 folder, uninstall the 32-bit version and then install the 64-bit one.

First guinea pig awaiting further instructions :slight_smile:

First I'd like to see if some DLLs are already installed on your system. I forgot to check on mine so I'm not sure if they were already there or if they were installed when I installed Visual Studio or the Platform SDK.

Look in c:\Windows\system32 for these files: MSVCP60.DLL and MSVCRT.DLL If they are there then right click on them, go to properties and the version tab and let me know what the versions are. Also if you could tell me if they are 64-bit or 32-bit versions that would be great. One way to do that is to get the 64-bit version of the dependency walker tool from http://www.dependencywalker.com/ and drag the DLL into its window. It will show icons with a 64 on them for the 64-bit binaries.

I am sorry I can't help you here. I've got Visual Studio and lots of other things installed as well. In addition I'm 100% sure some other applications tampered with those two special dlls. Plus I have tampered with them myself. So my system is in no way indicative of a freshly installed system. If you still want to know the version numbers, I'll look them up.

[1] IIUC and if the installer did what it was supposed to then the 32-bit Python25.dll should have ended up in c:\WIndows\SysWOW64 instead, so it probably won't be a big deal either way.

Yes, there's a python25.dll in SysWOW64. I am not sure if it might have been installed by any applications that use python though (probably not, but I am not sure).

-Matthias

路路路

Am 14.08.2008, 23:57 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

I've put a test built up at http://alldunn.com/temp/, let me know how it goes. The docs-demos installer doesn't contain any architecture specific code so it's still labeled "win32", but the main runtime installer has the "win64" component in the file name.

The MSVC DLLs are installed to the system folder, but only if the same or newer version is not installed already. Because it potentially installs something into the system folder it will require admin privileges to install.

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I installed python 64 successfully. But I cannot download the wxPython installer, the website gives me

'''
Forbidden

You don't have permission to access /temp/wxPython2.8-win64-unicode-2.8.8.2.pre20080823-py25.exe on this server.
'''

-Matthias

路路路

Am 24.08.2008, 02:15 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

I've put a test built up at Index of /temp, let me know how it goes. The docs-demos installer doesn't contain any architecture specific code so it's still labeled "win32", but the main runtime installer has the "win64" component in the file name.

The MSVC DLLs are installed to the system folder, but only if the same or newer version is not installed already. Because it potentially installs something into the system folder it will require admin privileges to install.

Nitro wrote:

路路路

Am 24.08.2008, 02:15 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

I've put a test built up at Index of /temp, let me know how it goes. The docs-demos installer doesn't contain any architecture specific code so it's still labeled "win32", but the main runtime installer has the "win64" component in the file name.

The MSVC DLLs are installed to the system folder, but only if the same or newer version is not installed already. Because it potentially installs something into the system folder it will require admin privileges to install.

I installed python 64 successfully. But I cannot download the wxPython installer, the website gives me

'''
Forbidden

You don't have permission to access /temp/wxPython2.8-win64-unicode-2.8.8.2.pre20080823-py25.exe on this server.
'''

Sorry about that. Please try again.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

It installed flawlessly. Then I installed the docs and demos which also worked fine. Finally I tested about two dozen or more demos and they all ran without a glitch. In fact everything worked so perfectly I checked twice whether I was running the 64-bit version or accidentally still had the 32-bit one running...

-Matthias

路路路

Am 24.08.2008, 20:56 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

Nitro wrote:

Am 24.08.2008, 02:15 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

I've put a test built up at Index of /temp, let me know how it goes. The docs-demos installer doesn't contain any architecture specific code so it's still labeled "win32", but the main runtime installer has the "win64" component in the file name.

The MSVC DLLs are installed to the system folder, but only if the same or newer version is not installed already. Because it potentially installs something into the system folder it will require admin privileges to install.

I installed python 64 successfully. But I cannot download the wxPython installer, the website gives me
'''
Forbidden
You don't have permission to access /temp/wxPython2.8-win64-unicode-2.8.8.2.pre20080823-py25.exe on this server.
'''

Sorry about that. Please try again.