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


ADVERTISEMENT

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 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 :: 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

Software :: Install Numpy-1.6.0b2 On Machine?

Apr 25, 2011

I'm trying to install numpy-1.6.0b2 on my Linux machine and I'm having a lot of trouble. After downloading the source files, I try to build with the gfortran compiler. I receive a massive list of errors, most non-fatal, until I reach the following -

[Code]...

I've been working at this for quite some time and nothing I have found online seems to work. I know it's a longshot but I was wondering if anyone has had this same problem and has found a way to fix it.

View 2 Replies View Related

Ubuntu Installation :: Unable To Install Numpy?

Sep 13, 2010

I am running Ubuntu 10.04 (64-bit) with python 2.6 and have had great difficulties with the installation of numpy and matplotlib (matplotlib needs numpy). I have tried several different approaches --- but unsuccessful still. I have downloaded the following:

* python-numpy_1.4.1-4_amd64.deb
* python-numpy_1.5.0-1ppa1_amd64.deb
* numpy-1.5.0.tar.gz

and,

* matplotlib_0.99.3-1ubuntu1.debian.tar.gz
* matplotlib_0.99.3.orig.tar.gz
* matplotlib-1.0.0.tar.gz

(I gave up on matplotlib 1.0.0) How can I install numpy with matplotlib? I have attached a python script to test the installation.

View 2 Replies View Related

Programming :: Numpy 'filter' Type Function?

Jan 27, 2010

I'm a n00b to both numpy and python. I was wondering what the most intelligent way to write the trapezoid rule function was:

Code:
>>> import numpy as np
>>> a=np.array([1,2,3,4,5])
>>> def mytrapz(vec):
total=0
for i in xrange(0,len(vec)-1):
total+=(vec[i]+vec[i+1])/2.0
return total

>>> mytrapz(a)12.0 This is exactly what I would do in C and I'm sure the for loop is not the fastest way (as is the case for my interpreted langs). Yes, I know there is already numpy.mytrapz... I'm interested in the most efficient way to loop over arrays in such a way that each iteration accesses more than one cell.

View 1 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 :: 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

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

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

CentOS 5 Hardware :: Hosed Intel DP35DP Centos 5.3 Upgrade?

Jul 10, 2009

I have an intel DP35DP motherboard - ICH9 southbridge - set to AHCI mode. Working fine under 5.2. Yesterday I updated to centos 5.3, and got kernel 2.6.18-128.1.16 and now it can't boot. It hangs trying to read sata1 with DRDY errors and exceptions.So then I installed 5.3 from a DVD onto a new drive, and got kernel 2.6.18-128. This worked, most of the time, but occasionally gave me this error. I then updated my BIOS, and the error went away.Then I updated this new working drive to the latest kernel (yum update again) and got kernel 2.6.18-128.1.16, and now it wont boot again, with the same message.

ata1: failed to read log page 10h (errno=-5)
ata1.00 exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000008
ata1.00: cmd 60/08:00:61:4b:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
ata1.00: status: { DRDY }
ata1.00: revalidation failed (errno=-2)
ata1.00: revalidation failed (errno=-2)

[Code]....

View 2 Replies View Related

CentOS 5 Hardware :: System Wont Boot Since Upgrade Centos 5?

Jan 26, 2011

have all ways been hiding in the background read not say a thinglets start well i look after 2 dell poweredge 2650 with 12 gig ram installed servers has been running fine onwell i though it was time to upgrade to 5 all went fine till reboot Memory for crash kernel (0x to 0x) not within permissible range ! well what i have been reading this is the norm for now What is mean by ignore it? LoLwell so i did the system keeps boot till i get to this linesbin/mingetty: /sbin/mingetty: cannot execute binary file alot, and it shows. INIT: Id "5" respawning too fast: disabled for 5 minutes ...so maybe its a memory issue so took 8 gig out left 4 in the system now it reboot alls good with only 4 gig of ram installed so is there a way to fix it to use all the ram can i get the system boot on 4 gig and then add the 8gig later on

View 7 Replies View Related

CentOS 5 :: D510MO And Upgrade To CentOS 5.5 - Fix Eeprom Of Onboard NIC?

May 20, 2010

I make upgrade from CentOS 5.4 to CentOS 5.5. Architecture is historical i386. On first boot my system was freezed by disabled earlier but not removed manualy writed xdm service. I disable it. But not found network. I see hardware address of card fe:ff:ff:ff:ff:ff. This address is not normal. But how to restore eeprom of this network adapter?

I don't think its trouble of new CentOS. I think this is random incident.Configuration of computer is Intel D510MO motherboard with integrated atom processor and realtek 8111dl nic. I know some trics about fix mac address in centos, but how to fix this address in bios?

View 1 Replies View Related







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