I Know this is more of a linux issue but someone has done it so I though you might lend a hand or point me in the right direction. First, I am a linux newbie when it comes to installing software.
I am trying to install (I am a newbie) Numeric-24.2.tar.gz.
Now when I have correctly moved the file in /usr/bin/, when I try to:
[root@ip-XXX.XXX.XX.XXX bin]# rpm -Uvh Numeric-24.2-1.i586.rpm
error: Failed dependencies:
python-base >= 2.4 is needed by Numeric-24.2-1.i586
libg2c.so.0 is needed by Numeric-24.2-1.i586
I tried to install python2.4.1.3 and it said 2.4.1.6 was already installed. I restarted the server, tried it again and it showed it was missing the same things:
[root@ip-XXX.XXX.XX.XXX bin]# rpm -Uvh Numeric-24.2-1.i586.rpm
error: Failed dependencies:
python-base >= 2.4 is needed by Numeric-24.2-1.i586
libg2c.so.0 is needed by Numeric-24.2-1.i586
Any ideas how to get these two dependencies?
Comments
Comment #1
kyle_mathews commentedIf you are on a debian-based system you get just install Numeric using the package system --
sudo apt-get install python-numeric. That's by far the easiest way to make sure all the dependencies are satisfied. Other Linux distributions have package managers as well which install software automatically handling dependancies.Comment #2
webdev2 commentedIt is centos 5 which is essentially RHEL5. I am trying to figure out to do it with rpms. I guy recommended the -noDeps tag but won't I need it?
Comment #3
kyle_mathews commentedAnother thought, you could try install python-numeric from source -- download the tar.gz file from sourceforge and unpack the files and run the install file
python setup.py install(I think -- that's generally how python apps install).Comment #4
webdev2 commentedI started that way and ROYALLY screwed it up. I think I am on track. I am REALLY excited about using it whenever I can get past my linux ignorance.
Thanks for your work on this!
Comment #5
luchandy commentedhi there webdev2,
Here are the packages I used to successfully install Memetracker on CentOS 5 (RedHat Enterprise Linux 5):
The following Python packages have rpm's available, so no need to compile:
# yum install python python-devel python-numpy python-numeric
Python Cluster does not have an rpm, so we have to compile:
Get the source:
# wget http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/cluster-1.41.t...
Uncompress:
# tar -xvzf cluster-1.41.tar.gz
Now install it:
# cd cluster-1.41
# python setup.py install
Let's verify it works:
# python
>> from Pycluster import *
(You will get your Python prompt back if you have your Python stuff installed correctly.)
Comment #6
webdev2 commentedmany thanks for the great instructions. I'll give it a try as soon as I am thru with current project. Thanks again!!
Comment #7
luchandy commentedComment #8
webdev2 commentedthanks but "get http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/clust" is not found.
Comment #9
luchandy commentedHi there webdev,
It looks like the URL might be getting cutting off.
bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/cluster-1.41.tar.gz
is the full URL.
Comment #10
webdev2 commentedthanks, when I try that URL, it displays:
Not Found
The requested URL /~mdehoon/software/cluster/cluster-1.41.tar.gz was not found on this server.
Comment #11
kyle_mathews commentedGo here [http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#p... then click on the "Pycluster Source Distribution" link. 1.42 seems to be the latest version.
Comment #12
webdev2 commentedKyle - I get as far as the install now. Instead of installing cluster, it installs Pycluster-1.42. So I:
# cd Pycluster-1.42
# python setup.py install
and get the following error:
Traceback (most recent call last):
File "setup.py", line 8, in ?
import numpy
ImportError: No module named numpy
Do I have to install another package to get this one to work?
Comment #13
kyle_mathews commentedHmm. . . it seems Pycluster then has changed its dependancy from Python-numeric to Python-numpy. That's a good thing actually as Numpy replaced Numeric a number of years ago. I'll need to update my instructions for the next release. In the meantime you'll need to install python-numpy either via your package-manager or manually get the source here.
Comment #14
luchandy commentedwebdev2,
Did you do the step above where I noted:
# yum install python-numpy
Comment #15
webdev2 commentedHuraay!!!! got to the point of the
# python
>> from Pycluster import *
working.
Now to the fun part of getting the module to work.
Many many thanks!!
Comment #16
luchandy commentedWoot!! Great work.
Comment #17
kyle_mathews commentedcool deal! Excited to see what you come up with.