473,695 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing Python on a 64-Bit OS

Hi there,

I'd like to install Python 2.3.5. on a 64-Bit OS (Suse Linux Enterprise
Server 10) on an AMD Opteron 64-Bit machine.
I have to use Python 2.3.5.

Do I need a special source archive or can I use "Python-2.3.5.tgz" from
http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz ?

Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?

Regards,
Nico
Sep 19 '06 #1
4 2176
Nico Grubert wrote:
Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
It is as easy. Look around, you'll probably find a pre-built binary
package for your OS.
Sep 19 '06 #2
Nico Grubert wrote:
I'd like to install Python 2.3.5. on a 64-Bit OS (Suse Linux Enterprise
Server 10) on an AMD Opteron 64-Bit machine.
I have to use Python 2.3.5.

Do I need a special source archive or can I use "Python-2.3.5.tgz" from
http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz ?

Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
On this platform, it should be easy to build from the sources as gcc
builds 64 bit programs by default.

On some platforms (Solaris/Sparc, AIX, HP-UX/PA-RISC), the compiler
defaults to 32bit programs. You then have to convince configure to use
the right CFLAGS. The exact technique might differ from configure to
configure: some require an option, some require an environment variable.
Tip: create wrapper scripts for the compiler (and possibly ld and ar),
which uses the proper options. Add the location of these scripts at the
start of PATH, thus overiding the compiler. Now all configures will
default to 64 bit.

Daniel

Sep 19 '06 #3
Nico Grubert schrieb:
Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
Despite what everybody else said: most likely, special care is
necessary. However, nobody probably knows what precisely you need
to be aware of.

Several changes have been made to Python 2.4 and 2.5 to support
AMD64-Linux better, and not all of these changes have been
incorporated into Python 2.3, as this software is no longer
maintained.

My advise is just to try building it, run the test suite, and
see whether it passes. If it fails to compile or pass the
test suite, post a message with the specific problem - hopefully,
somebody will remember how it was fixed.

As others have said: you should really try to use the python 2.4
that comes with the operating system. Can you share the reason why
you have to use Python 2.3?

Regards,
Martin
Sep 19 '06 #4
Several changes have been made to Python 2.4 and 2.5 to support
AMD64-Linux better, and not all of these changes have been
incorporated into Python 2.3, as this software is no longer
maintained.
As others have said: you should really try to use the python 2.4
that comes with the operating system. Can you share the reason why
you have to use Python 2.3?
I actually should use the Python 2.3.5 for an application server called
"Zope" and a Zope product that officially does not support the latest
Zope version yet. The latest stable Zope version requires Python 2.4.2
so I'll installed Python 2.4.3. and I am trying to get it running.

Thanks for the tips.

Nico
Sep 21 '06 #5

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

Similar topics

2
2909
by: Dennis Hore | last post by:
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3 with python 2.3. I first sent this message to Nick, but he said he doesn't have any experience with the Mac platform. after installing using python setup.py install (using Numeric; no error messages), and then in python trying >>> import ppgplot i get:
2
15221
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
1
3079
by: freesteel | last post by:
I have posted about this problem before. SInce then I found a much better article to help with embedding python in a multithreaded application: http://www.linuxjournal.com/article/3641 I found this article very good and it clarified for me what needs doing. Now I have an example application that almost works, but it is far from reliable. If I run this several times I get crashes telling me that the heap is modified after deallocation....
5
2122
by: Cappy2112 | last post by:
I've just started a job which has a massive python2.3.4-centric tools installation and configuration. I know what you're going to say, but I can't upgrade and be the only one with a newer version. There are close to 30 engineers using this same tools configuration, and it has been working fine for a long time. For now, we all have to live with the limitations and or bugs in 2.3.4. I'm running Windows XP, SP2, on a AMD 1.79Ghz MP 2200+.
0
1603
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 ActiveState python: ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on Python 2.4.3 (#1, Apr 3 2006, 18:07:58) on sunos5 Type "help", "copyright", "credits" or "license" for more information.
11
1251
by: John Nagle | last post by:
How naive (in the sense that compiler people use the term) is the current Python system? For example: def foo() : s = "This is a test" return(s) s2 = foo() How many times does the string get copied?
11
6299
by: THE BOB | last post by:
I am trying to Install Python 2.5.1 I am running Windows Vista Home Premium. I have an AMD Turion(tm) 64 X2 Mobile Technology TL-60 2.00 GHz I have tried all of the downloads for all the processors. As soon as I run any of the downloads I instantly get an error message: "This installation package is not supported by this processor type. Contact your product vendor."
7
1768
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution to ease maintenance issues. There is nothing stopping you from running your own version of python from within your own account. Download the source and compile it and install it into your own space. Adjust the fist line of your python scripts to...
0
1107
by: Gabriel Genellina | last post by:
En Thu, 10 Jul 2008 14:02:29 -0300, Bhagwat Kolde <bbkolde@gmail.com> escribi�: If it is a single Python module, you can put it anywhere in the Python path. A good place may be the site-packages subdirectory. Execute this line to see the list of directories that are currently searched for modules: python -c "import sys; print '\n'.join(sys.path)"
0
2155
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages env New python executable in env/bin/python Installing setuptools........... Complete output from command env/bin/python -c "#!python
0
8638
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8578
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9120
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8857
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4346
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3013
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2278
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.