07-01-2008
Python Installation problems on Redhat Enterprise Linux.
Hi All,
I have to upgrade python installed on my Redhat enterprise Linux 4. I downloaded the latest python package from python website but not able to install the new package as the make command itself goes on running for more than a day. Can some help me regarding this. Is ther any method to quickly install the package on the machine.
10 More Discussions You Might Find Interesting
1. Red Hat
Hi all,
Thanks for reading and any posts.
Quick question, has anyone out there got any suggestions for standards of security for Redhat enterprise 3. We are making an RAC cluster Oracle application using Oracle 9i (hopefully moving to 10g sooner rather than later).
Thanks again for any... (0 Replies)
Discussion started by: B14speedfreak
0 Replies
2. Red Hat
I'm trying to install Redhat LInux AS 4 update 4 on an IBM x306 series server. I keep getting following error:
"No Drives Found. An error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem."
I called IBM and... (2 Replies)
Discussion started by: pieman8080
2 Replies
3. Red Hat
Hi,
I would like to know if should i patch my system and sshd based on the version that i have here below:
cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
------------
uname -a: redhat kernel version and type (64-bit or not)
Linux server2 2.6.9-55.ELsmp... (2 Replies)
Discussion started by: lamoul
2 Replies
4. Red Hat
Hi
i installed samba-client-3.0.23c-2 on Redhat Server but cat not start
#service smb start. it gives error
unrecognized smb
I checked
samba-common-3.0.23c-2
# rpm -qa |grep smb
pam_smb-1.1.7-7.2.1
# rpm -qa |grep samba
samba3-client-3.2.15-40.el5
Could someone help please?
... (1 Reply)
Discussion started by: lamoul
1 Replies
5. Red Hat
hi all
do i need to add rc. prefix on the stop script all the time especially on redhat 5 enterprise? like below
ln -s /etc/init.d/rc.stopdb2 /etc/rc0.d/K01rc.stopdb2
and on the /etc/rc.local, i need to add this only
touch /var/lock/subsys/stopdb2
Is that going to work?
thanks... (1 Reply)
Discussion started by: itik
1 Replies
6. Linux
I didn't know what sub category to put this under, so I just figured I'd throw it in the main area.
I've recently acquired an HP ProLiant120 G6 and am trying to install Mitel's version of Linux onto it. I boot from the cd, and can make it as far as selecting what type of keyboard I have. The... (5 Replies)
Discussion started by: madeang
5 Replies
7. Red Hat
When i finished installation the Redhat Enterprise Linux 6.2, and login to the system, I can't login although username: root and Password correct. I install on the Hp Blade Server. I don't know why.
How to fix this error? who can help me? :confused:
Thanks! (3 Replies)
Discussion started by: dinhdangnd
3 Replies
8. Red Hat
Hello, I'm using dell inspiron 14R laptop and I installed Redhat enterprise 6.2 on this. After successfully installation i did not found any network interface on this.
when i'm trying to load/add qeth driver . The driver is not found showing this message.
Bash: lsmod | grep qeth
Bash:... (4 Replies)
Discussion started by: dearsumon
4 Replies
9. Red Hat
what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies
10. Fedora
Hi,
please can any one tell me where can i download redhat linux 6.4 for training purpose?
thanks & Regards (1 Reply)
Discussion started by: younusdba
1 Replies
PYTHON(1) BSD General Commands Manual PYTHON(1)
NAME
python, pythonw -- an interpreted, interactive, object-oriented programming language
SYNOPSIS
python ...
pythonw ...
DESCRIPTION
To support multiple versions, the programs named python and pythonw now just select the real version of Python to run, depending on various
settings. (As of Python 2.5, python and pythonw are interchangeable; both execute Python in the context of an application bundle, which
means they have access to the Graphical User Interface; thus both can, when properly programmed, display windows, dialogs, etc.) The current
supported versions are 2.6 and 2.7, with the default being 2.6. Use
% man python2.6
% man python2.7
% man pythonw2.6
% man pythonw2.7
to see the man page for a specific version. Without a version specified,
% man pydoc
and the like, will show the man page for the (unmodified) default version of Python (2.6). To see the man page for a specific version, use,
for example,
% man pydoc2.7
CHANGING THE DEFAULT PYTHON
Using
% defaults write com.apple.versioner.python Version 2.7
will make version 2.7 the user default when running the both the python and pythonw commands (versioner is the internal name of the version-
selection software used).
To set a system-wide default, replace 'com.apple.versioner.python' with '/Library/Preferences/com.apple.versioner.python' (admin privileges
will be required).
The environment variable VERSIONER_PYTHON_VERSION can also be used to set the python and pythonw version:
% export VERSIONER_PYTHON_VERSION=2.7 # Bourne-like shells
or
% setenv VERSIONER_PYTHON_VERSION 2.7 # C-like shells
% python ...
This environment variable takes precedence over the preference file settings.
64-BIT SUPPORT
Versions 2.6 and 2.7 support 64-bit execution (which is on by default).
Like the version of Python, the python command can select between 32 and 64-bit execution (when both are available). Use:
% defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
to make 32-bit execution the user default (using '/Library/Preferences/com.apple.versioner.python' will set the system-wide default). The
environment variable VERSIONER_PYTHON_PREFER_32_BIT can also be used (has precedence over the preference file):
% export VERSIONER_PYTHON_PREFER_32_BIT=yes # Bourne-like shells
or
% setenv VERSIONER_PYTHON_PREFER_32_BIT yes # C-like shells
Again, the preference setting and environmental variable applies to both python and pythonw.
USING A SPECIFIC VERSION
Rather than using the python command, one can use a specific version directly. For example, running python2.7 from the command line will run
the 2.7 version of Python, independent of what the default version of Python is.
One can use a specific version of Python on the #! line of a script, but that may have portability and future compatibility issues.
Note that the preference files and environment variable that apply to the python command, do not apply when running a specific version of
Python. In particular, running python2.6 will always default to 64-bit execution (unless one uses the arch(1) command to specifically select
a 32-bit architecture).
SEE ALSO
python2.6(1), python2.7(1), pythonw2.6(1), pythonw2.7(1), arch(1)
BSD
Aug 10, 2008 BSD