Monday, March 16, 2009

Python-C software installation

I've been trying to install xMAN software, named for "extreme mapping of oligonucleotides". This software is a new kind to me: C-extended Python. And its installation tends to be different.

First install prerequisite:

sudo yum install swig.x86_64
sudo yum install python-numarray.x86_64

The package comes along with a setup.py, run as suggested:

sudo python setup.py install

Got error:

error: Python.h: No such file or directory

Looked through Google, saw that python-dev needs to be installled:

sudo yum install python-devel.x86_64

Then the installation worked just fine!

2 comments:

adug(杜舟) said...

哇塞,你都要成为系统管理员了,呵呵~

Xin said...

我可不是系统管理员,没那个能耐...