CentOS 5 :: Upgrade Python-2.4.3 To Python-2.5?

Mar 30, 2011

How can I upgrade python-2.4.3 to python-2.5?

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Yum - Python-devel / Python Dependency

Jan 7, 2011

yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:

[Code]....

View 2 Replies View Related

CentOS 5 :: Upgrade Python Via Yum/rpm?

Apr 9, 2009

I'm using centos5 hiab with qmail and apache and i'm trying to install Mailman via: ./configure --prefix=/home/admin/mailman --with-mail-gid=qmail --with-cgi-gid=apache

and I get the error:

***** Distutils is not available or is incomplete for /usr/bin/python
***** If you installed Python from RPM (or other package manager)
***** be sure to install the -devel package, or install Python
***** from source. See sec. 15.1 of the Installation Manual for
***** details

Doing an rpm -qa | grep python
yields the following:
python-2.4.3-19.el5
libxml2-python-2.6.26-2.1.2

[Code]....

So it seems to me that the only thing I need to is upgrade(new install??) python-devel-2.4.3-19.e15

View 2 Replies View Related

CentOS 5 :: Upgrade Python And Numpy Using Yum?

Aug 1, 2009

I would like to update Python v.2.4 and Numpy to Python v.2.6 and Numpy v.1.3. How can I do it. I heard that we can use "yum update", but I am not sure to do it correctly.

View 2 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Fedora :: Upgrade / Replace Current Python 2.5.2 On F10?

Dec 31, 2009

I have some tools that seem to have issues with Python 2.5 but are OK (on other systems) with Python 2.6. So, I was considering upgrading my Python interpreter to the current 2.6.4, but I know that in various RH distros, this was strongly discouraged. Is it OK to replace my current Python 2.5.2 on F10? If so, should that be done from source or can I do this cleanly through yum?

View 4 Replies View Related

Fedora Installation :: Python Error When Trying To Upgrade F13 To 14?

Nov 27, 2010

I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.

View 3 Replies View Related

Ubuntu Installation :: Python Imploded On Upgrade?

May 1, 2011

On upgrade I ran into this catch-22, and have almost 500 packages in limbo because of it. Any ideas on how to fix python-gobject or pycompile or whichever is angry?

Setting up python-gobject (2.28.3-1ubuntu1) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 322, in <module>
main()
File "/usr/bin/pycompile", line 299, in main
options.force, options.optimize, e_patterns)

[Code]...

View 4 Replies View Related

Debian :: Squezee Upgrade And Python-imaging?

Feb 16, 2011

I have recently upgraded from lenny to squezee and I noticed some problems during upgrade with some python files. Now I have same problem with them and I need to resolve it so that I can install sane:

Code:
dpkg --configure -a
Setting up python-imaging (1.1.7-2) ...
Traceback (most recent call last):
File "/usr/local/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)

[Code]...

aptitude -f install reports same problems with python-reportlab and python-imaging.

View 3 Replies View Related

Ubuntu :: Kupfer Upgrade - How To Install Python-keyring

Mar 25, 2010

So I was trying to upgrade kupfer when it told me it couldn't, as python-keyring was a virtual package and could not be installed. I'm using Karmic, so the package python-keyring is not available, although it is in Lucid. How would I go about upgrading kupfer/installing python-keyring??

View 2 Replies View Related

Ubuntu Installation :: Python -> Upgrade 9.10 To 10.x From Command Line?

Oct 7, 2010

I had problems with python stuff and so update manager did not work. Also many other problems, PiTiVi was installed but did not start eg... After many trials of this and that I removed python-gtk2 and so also ubuntu desktop. But was unable to get it back. Now I cannot even shut down. While it is not possible to install desktop or anything else, would it be possible to fix this by upgrading the whole system to 10.04 (10.10?)? Would it fix python installation. How could I do it. Some info tells to change sources.list and run apt-get upgrade, but some tell not to do so.

t@t:~$ update-manager
Traceback (most recent call last):
File "/usr/bin/update-manager", line 26, in <module>

[code]....

View 9 Replies View Related

Fedora :: Using Python 2.5 With Python 2.6 With F12?

Nov 30, 2009

Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.

[URL]

View 3 Replies View Related

Fedora :: Missing Python Packages Or Dependencies With F10->F12 Upgrade Breaks Yum?

Dec 15, 2009

I just finished upgrading the last of 3 machines from F10 to F12 using preupgrade (all i686). Except for a non-critical hplip issue, all went well with the first two machines upgraded 1 week and 3 days ago, but some python F10->F12 updates were missing on the third machine that I upgraded yesterday, leaving yum inoperable. Thanks to good yum error messages, I was able to resolve the problem (I think), but I thought I should post to check if mine is a unique or common problem, to enquire if it may have resulted from some of the python packages being in "update transit" in the repositories, and/or whether something like this can be avoided in future? Details follow:

Upgrade appeared to go well except for some dejavu font dependency issues (experienced on all three machines) and libcrypto.so.7 missing for eet-1.2.2-4... (third machine). However, there was a boot message that some python module (can't remember which) was not present for some nvidia requirement, although video driver worked fine. When testing yum: First it complained that libpython2.6.so.1.0 was not present. Since that module conflicted (identified by rpm) with various python 2.5.*f10 packages that that were still on board, I copied libpython2.6.so.1.0 (from a current f12 rpm) into /usr/lib manually. Second, yum complained that urlgrabber was not available, so rpm with the latest python-urlgrabber for f12 solved that.

Third, yum complained that pycurl was not available, so rpm with the latest python-pycurl solved that. Yum now works! and boot message is gone! I ran "yum install python-libs" to make sure that any necessary dependencies were met following my manual installation of libpython2.6.so.1.0, which resulted in a bunch of python dependencies being upgraded as a result.

View 1 Replies View Related

Ubuntu Installation :: Python-lazr.uri After Upgrade To 10.04LTS 64bit?

May 28, 2010

After upgrading to 10.04LTR 64bit I encountered this problem below... I have already tried -f / --configure to no avail.

@ASUS-AMD64:~$ sudo apt-get upgrade Reading package lists. Building dependency tree Reading state information Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y
Setting up python-lazr.uri (1.0.2-1) dpkg (subprocess): unable to execute installed post-installation script: Exec format error dpkg: error processing python-lazr.uri (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: python-lazr.uri E: Sub-process /usr/bin/dpkg returned an error code (1)

View 6 Replies View Related

CentOS 5 :: Hplip Wants Dbus-python 0.80+?

Dec 27, 2008

I have an HP printer and have installed hplip in the hope of resolving some printing problems and having nicer, more consistent print dialog boxes. Unfortunately it wants dbus-python version .80+ and the current version is .70

I'm aware that centos is about stability and I'm guessing that a new version of dbus-python isn't likely to happen until centos 6-- right? So what's the best option? Can I find a newer dbus-python package that works with centos 5.2 or is that defeating the purpose of the OS? Do I have to choose between stability with printing problems and instability with better printing functionality?

View 5 Replies View Related

CentOS 5 :: Python Module Not Found?

Jan 8, 2011

I installed openxenmanager without a problem. but when I tried to start it I got: ImportError: No module named gtkvnc

the start script is in python, and I am using python2.5 to run it. I already installed

gtk-gtk-vnc.i386 0.3.8-3.el5 installed
gtk-vnc.x86_64 0.3.8-3.el5 installed
gtk-vnc-python.x86_64 0.3.8-3.el5 installed

Note: when I use python2.4 I got another error and it skip the previous one, the error is: ImportError: No module named hashlib

and when I comment it the application is running but with errors.

View 1 Replies View Related

CentOS 5 :: Python-2.4.3-43 And Gcc-4.1.2-50 SRPM Are Missing?

Apr 20, 2011

Where can I find SRPMs for the latest python-2.4.3-43 and gcc-4.1.2-50 included in CentOS 5.6? They seems to be missing from centos/5.6/os/SRPMS on all mirrors that I checked...

View 1 Replies View Related

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

Jan 12, 2011

This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.

View 1 Replies View Related

Server :: Run Rpmbuild -bb On Centos 5.5 Box To Create The Rpm For Python 2.7

Feb 23, 2011

I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.

View 3 Replies View Related

CentOS 5 :: Can't Find A C Compiler To Configure Gcc & Python 3.1.3

Dec 27, 2010

i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file I have got

checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking machine type as reported by uname -m... x86_64

[Code]....

I have tried downloading gcc and installing it, but got the same message. So, I can't find any C compiler, and I can't install one.

View 4 Replies View Related

CentOS 5 :: Python Files Displayed As Text?

Dec 31, 2010

I have CentOS 5 32 bit and I wish to be able to use Python as it is required by a web script I am installing.The Apache however handles the test Python scripts as text. I have Apache/2.2.3 installed and I followed this tutorial: [URL]installed mod_python, edited the httpd.conf file, restarted the Apache, it restarted ok - no change at all. I tried other suggestions I googled but in vain.

View 4 Replies View Related

CentOS 5 :: Yum Python New Thread.error When Mysqld Is Running

Mar 13, 2009

I installed mysqld with yum then yum quit working with this error:http://yum.baseurl.org/ticket/70 when mysqld is stopped yum works again. what does a running instance of mysqld have in common with a python yum package manager?

rpm -qa rpm* python* yum* mysql* | sort
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-server-5.0.45-7.el5

[Code]...

View 3 Replies View Related

CentOS 5 :: Cannot Install YUM And Python Iniparse To Install ImageMagick?

Aug 9, 2009

I have logged into root via SSHI followed instructions from here[URL]And here[URL]

View 1 Replies View Related

Ubuntu :: Need Both Python V2.5 And 2.6?

Mar 27, 2010

It says in my package manager that i have both 2.5 and 2.6 installed. I'm trying to clean up my laptop, can i delete one of them or do i need both?

View 3 Replies View Related

Ubuntu :: How To Use Python 3.1 - Getting 2.6

Dec 15, 2010

Just installed Python 3 but every time I enter Python at the terminal I get 2.6. How do I use 3.1

View 2 Replies View Related

Ubuntu :: Can't Get To Python 3.1 / Fix This?

Jul 30, 2011

I already have the Python 2.6 interpreter installed on my system. I was reading A Byte of Python, and it said to get Python 3.1. So I typed in 'sudo apt-get install python3.1' in the terminal, followed the prompts and it installed. However, now I can't find it anywhere. I go either to the PyCrust of PyShell and it still says I'm using version 2.6.6. Any advice?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved