hi,
Im trying to install euca2ools but I keep getting dependency errors and cant find out what I need to install.
[root@localhost euca2ools-1.1-centos-i386]# rpm -Uvh python25-2.5.1-bashton1.i386.rpm
error: missing dependency:
libpython2.5.so.1.0 is needed by python25-2.5.1-bashton1.i386
[root@localhost euca2ools-1.1-centos-i386]# rpm -Uvh python25-libs-2.5.1-bashton1.i386.rpm
error: missing dependency:
python25 = 2.5.1-bashton1 is needed by python25-libs-2.5.1-bashton1.i386
but I actually have python 2.5 installed:
[root@localhost euca2ools-1.1-centos-i386]# python -V
Python 2.5.2
any idea what the problem could be?
thanks!
oh yeah, my system info:
I have eucalyptus 1.5.2 installed on centos 5.3 (32-bit). I installed from binary packages. my hypervisor is xen and I configured system mode. I tried to install this on the front end, where CLC and CC are running.
hi,
I came across the same problem again today...
I tried to install one package after the other in the order the are stated in the manual.
this is how I installed python (googled it):
wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
tar fxz Python-2.5.2.tgz
cd Python-2.5.2
./configure
make
make install
this command says I have phyton 2.5, still the same errors come up when trying to install euca2ools:
[root@localhost Desktop]# python -V
Python 2.5.2
[root@localhost Desktop]# rpm -qa | grep python
python-ldap-2.2.0-2.1
gamin-python-0.1.7-8.el5
python-sqlite-1.1.7-1.2.1
python-iniparse-0.2.3-4.el5
gnome-python2-gconf-2.16.0-1.fc6
gnome-python2-applet-2.16.0-2.el5
rpm-python-4.4.2.3-18.el5
gnome-python2-canvas-2.16.0-1.fc6
gnome-python2-libegg-2.14.2-6.el5
python-virtinst-0.400.3-5.el5
python-2.4.3-24.el5
audit-libs-python-1.7.7-6.el5
python-numeric-23.7-2.2.2
gnome-python2-2.16.0-1.fc6
gnome-python2-gnomevfs-2.16.0-1.fc6
gnome-python2-extras-2.14.2-6.el5
gnome-python2-gtksourceview-2.16.0-2.el5
gnome-python2-bonobo-2.16.0-1.fc6
libvirt-python-0.6.3-20.1.el5_4
python-elementtree-1.2.6-5
gnome-python2-gnomeprint-2.16.0-2.el5
libxml2-python-2.6.26-2.1.2.7
python-urlgrabber-3.1.0-5.el5
dbus-python-0.70-7.el5
notify-python-0.1.0-3.fc6
libselinux-python-1.33.4-5.1.el5
gnome-python2-desktop-2.16.0-2.el5
Hello all. I'm having the exact same problem with python 2.5 after a fresh install of Eucalyptus. The only difference is I'm using a binary RPM instead of building from a source tarball. It's preventing me from using the euca2ools to add VM images and I'm stuck at this point. I tried doing --nodeps (which is really not a great option anyway) and it installs but it caused the euca2ools to break when I ran them. I also tried downloading a fresh copy of the RPM instead of the one on the RHEL5 disk, but that produced the same result.
error: Failed dependencies:
libpython2.5.so.1.0 is needed by python25-2.5.1-bashton1.i386
python-2.4.3-24.el5 is installed by default on this machine. I'm using RHEL5 and Xen. The installation and configuration have been smooth until this. Let me know if you need more information regarding my config. Any help would be greatly appreciated.
Thanks,
dw
Here is an update from yesterday...Hope it helps others with the Python install issue.
I found a site (http://www.geekymedia.com/tech-articles/rhel5-centos5-rpms-for-python-2-...) where they provide Python 2.5 and 2.6 RPMs that are built to be installed parallel to 2.4. This got me over the Python installation hump.
I reinstalled the euca2ools and resourced the eucarc file in the .euca directory. However, it still blows up when I run euca-bundle-image command. The error message is below. At this point the only thing I can think of is a path/environment variable problem. I suspect this because the site with the Python RPMs has a comment stating that python25 must be used to invoke python 2.5 instead of just typing python. When I type python at the command prompt, the older 2.4 version is executed. Likewise, when I type python25 at the command prompt, Python 2.5 is executed.
Any suggestions beyond the aforementioned that I should be look for?
Thanks,
dw
Traceback (most recent call last):
File "/usr/bin/euca-bundle-image", line 39, in ?
from euca2ools import Euca2ool, FileValidationError, Util, \
ImportError: No module named euca2ools