473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Python 2.5 WinXP AMD64

Hello,
I just tried to use the Windows XP installer for Python 2.5 AMD64 but I
get the error message: "Installation package not supported by processor
type"

I am running Windows XP Pro on an AMD Athon 64 Processor.

Do I need to have a 64-bit OS to use this version?

Sep 21 '06 #1
8 2285
Brendan a écrit :
Hello,
I just tried to use the Windows XP installer for Python 2.5 AMD64 but I
get the error message: "Installation package not supported by processor
type"

I am running Windows XP Pro on an AMD Athon 64 Processor.

Do I need to have a 64-bit OS to use this version?
To be exact, you need a 64bit Windows OS on a 64bit cpu.
Sep 21 '06 #2
Thanks.

Christophe wrote:
Brendan a écrit :
Hello,
I just tried to use the Windows XP installer for Python 2.5 AMD64 but I
get the error message: "Installation package not supported by processor
type"

I am running Windows XP Pro on an AMD Athon 64 Processor.

Do I need to have a 64-bit OS to use this version?
To be exact, you need a 64bit Windows OS on a 64bit cpu.
Sep 21 '06 #3
Christophe wrote:
To be exact, you need a 64bit Windows OS on a 64bit cpu.
Is there a reason that can be explained in a less-than-2-KB
posting? :) I mean why Python depends on the processor type that
much.

Regards,
Björn

--
BOFH excuse #52:

Smell from unhygienic janitorial staff wrecked the tape heads

Sep 21 '06 #4
Bjoern Schliessmann a écrit :
Christophe wrote:
>To be exact, you need a 64bit Windows OS on a 64bit cpu.

Is there a reason that can be explained in a less-than-2-KB
posting? :) I mean why Python depends on the processor type that
much.

Regards,
Easy : a 64bit version of Windows cannot be installed on a non 64bit CPU :)
Sep 21 '06 #5

Bjoern Schliessmann wrote:
Christophe wrote:
To be exact, you need a 64bit Windows OS on a 64bit cpu.

Is there a reason that can be explained in a less-than-2-KB
posting? :) I mean why Python depends on the processor type that
much.
Python doesn't depend on the processor type in any sense that I
understand "depend".

Like many other large C applications, Python code makes heavy use of
the C preprocessor to cater for differences in operating systems,
runtime libraries, complier idio[syncra]cies, and (probably least
importantly) processor differences. One corpus of source code can be
used to create binaries for a large number of different combinations of
operating systems and processors.

For just one processor (the AMD64), you could have at least 4 different
binaries: (Windows/Linux) x (32|64) bit version of the OS.

HTH,
John

Sep 21 '06 #6
Bjoern Schliessmann schrieb:
>To be exact, you need a 64bit Windows OS on a 64bit cpu.

Is there a reason that can be explained in a less-than-2-KB
posting? :) I mean why Python depends on the processor type that
much.
In the AMD-64 package, python.exe, python25.dll etc are declared
(by the linker) as binaries for the AMD64 architecture. If
you try to run such a binary on a 32-bit system, the operating
system will complain that it can't recognize the file type
(or that the architecture is wrong). Likewise for Itanium.

OTOH, Microsoft implemented an emulation mode for 32-bit
binaries on AMD64 and Itanium, so you can run the 32-bit
Python on Win64. On Itanium, this emulation has a significant
performance loss; on AMD64, the emulation is quite efficient
since the processor directly supports the emulation mode
(and better so than Itanium 1/2 did).

Regards,
Martin
Sep 21 '06 #7
Bjoern Schliessmann wrote:
Christophe wrote:
>To be exact, you need a 64bit Windows OS on a 64bit cpu.

Is there a reason that can be explained in a less-than-2-KB
posting? :) I mean why Python depends on the processor type that
much.
The 64-bit version of Python is compiled for 64-bit processors.
32-bit processors don't work the same and won't run the code.

The O.P. has a 64-bit Athlon processor, but is running a 32-bit
OS. The processor emulates its 32-bit predecessor in "legacy
mode", so 32-bit software runs.

Given a 64-bit processor, why can't 64-bit applications run
under a 32-bit Operating System? Because the O.S. provides
the environment in which the application runs. There are
several problems: system calls could be probably be thunked
by a library, but the virtual memory space is a deal breaker.
A 32-bit O.S. deals with 32-bit addresses; it can't support
the address space of a 64-bit app.

Running a 32-bit O.S., the processor stays in 32-bit legacy
mode. Enabling the processor's 64-bit mode is a privileged
operation; the application cannot do it.
Incidentally, the other direction works pretty well: a
64-bit operating system can run 32-bit applications. The
AMD64 architecture, also adopted by Intel, has a
"compatibility mode" for creating 32-bit virtual address
spaces within the native 64-bit address space.

I'm close to the 2KB.
For more, search on "AMD64 Architecture".
--
--Bryan
Sep 22 '06 #8
Bryan Olson wrote:
The O.P. has a 64-bit Athlon processor, but is running a 32-bit
OS. The processor emulates its 32-bit predecessor in "legacy
mode", so 32-bit software runs.
Ah, of course. Thanks for all replies! :)

Regards,
Björn

--
BOFH excuse #13:

we're waiting for [the phone company] to fix that line

Sep 22 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: magneticlemur | last post by:
Hi, Does anyone know of an available downloader for an amd64 bit build of (a modern) python? I've done my due diligence search of python docs and mailing archives, and I'm somewhat mystified...
0
by: Martijn de Munnik | last post by:
Hi, I'm trying to build/install pysqlite on a Solaris 10 platform. I've got Sun Studio 11 on a AMD 64 platform and got this error. I'm a python newbie and just want to install trac. I've got...
4
by: Martijn de Munnik | last post by:
Hi, I want to compile python on my solaris 10 system (amd 64 bit). I did the following: ../configure --prefix=/opt/64/python make which resulted in this error:
3
by: sapsi | last post by:
Hello, I'm not sure if this the correct list but here goes (and sorry for the noise). I've been attempting to wrap python around libhdfs. So far so good (i've attached the SWIG template at the...
3
by: Bev in TX | last post by:
I am a complete newbie at building Python. I am trying to build it under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that because I need debug libraries, which I did not see in the...
9
by: python | last post by:
Background: I'm going to be processing some raw transaction logs that are 30G in size. As part of this processing I may need to create some very large dictionary structures. I will be running my...
1
by: M.-A. Lemburg | last post by:
On 2008-07-25 08:13, python@bdurham.com wrote: Yes. But then Intel Itanium is being phased out anyway and the AMD64 build works on both Intel and AMD processors. True.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.