11-23-2010
Don't you mean "already installed, nothing to do"? Because AFAIK yum is written in Python. What happens if you enter the command python on the command line?
This User Gave Thanks to pludi For This Post:
10 More Discussions You Might Find Interesting
1. Linux
Guys does anyone have a good plan or structured tutorial on how to install Psybnc on CentOS platform, ive gave it a try and im on my 4th hour now , i just cant seem to get it working.
Thanks in advance (0 Replies)
Discussion started by: wmccull
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to install CVS on Centos 5.3. There is a RPM that yum detects and it installs it. But when I type CVS at the command line I get nothing. What do I have to do to configure CVS? (2 Replies)
Discussion started by: mojoman
2 Replies
3. UNIX for Dummies Questions & Answers
I have installed ubuntu desktop on my hard drive and I gave it all the hard drive.
Now I want to repatriate the hard disk and give half of it to anther ext4.
How do I do that?
Can I do it fron with in the ubuntu?
Second when I install the centos, how can I make to recognize the ubuntu and... (0 Replies)
Discussion started by: programAngel
0 Replies
4. Virtualization and Cloud Computing
Hi,
I have installed VirtualBox, downloaded CentOS 5.5 and created a VirtualMachine where i have installed the 'server' versión of CentOS 5.5
As I installed Virtual Box a new network device appeared '192.16.1.250' in my 'real' machine. I was unable to reach my webserver so i istalled CentOS once... (5 Replies)
Discussion started by: motoko
5 Replies
5. UNIX and Linux Applications
Hi every body
I am facing problem installing spamassassin on my CentOS - Direct Admin VPS
The installation ended with the following error
REQUIRED module out of date: Archive::Tar
optional module missing: Digest::SHA
optional module missing: Mail::SPF
optional module missing: IP::Country... (0 Replies)
Discussion started by: rizwan65
0 Replies
6. Linux
I am not able to find any references related to installing centOS in i686 machine ?
Is it supported or not ?
This does not list it at all, so a little bit confused CentOS - Wikipedia, the free encyclopedia
No luck with google also ! Appreciate if somebody can help. Thanks. (1 Reply)
Discussion started by: thegeek
1 Replies
7. Red Hat
Hello folks,
I am trying to install Xen on centos 6!
Kindly check out the following screen shots!
What should I do?
Regards (0 Replies)
Discussion started by: ahmedamer12
0 Replies
8. OS X (Apple)
I have a build process that runs on CentOS that builds RPMs for a java-based product. I'd like to be able to install these RPMs on my Mac OS X laptop for testing purposes. I don't need an RPM database to manage dependencies or previously installed packages. Consider this RPM to be a glorified... (1 Reply)
Discussion started by: jschnitter
1 Replies
9. Red Hat
hi,
i am try to install a package in centos 6.2 x86-64 but unable to find any package in centos media iso.
In RHEL we have a product folder which contain all the list of rpm but in centos i cant found that.
I have use yum command but it also cant work show me the message no module named yum.... (1 Reply)
Discussion started by: zeeshan047
1 Replies
10. Red Hat
I have added grub2 efi package to package folder in extracted iso folder and used below command to create repo
createrepo -v PackagesFolder
I didn't do any changes in comps.xml as an entry with grub2efi is already present in packages required.
Am getting following error.
File... (1 Reply)
Discussion started by: Sumanthsv
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