Biopython是Python的计算分子生物学和生物信息学工具包,它使得python在生物学数据处理中变得更加强大和高效,在Windows中安装biopython非常简单,下载之后,双击然后一路点下一步就可以了。在Linux中安装有多种方法,以Ubuntu(10.04)为例:方法一:使用apt-get install方式安装sudo apt-get install python-biopython只有一行命令,可是这种方法安装的不是最新版本,很多新的功能不能用,非常不爽,不建议使用这种方法安装。方法二:使用easy_install安装(1)安装python-dev,不然会出现Setup script exited with error: command ‘gcc’ failed with exit status 1错误sudo apt-get install python-dev(2)安装easy_install工具sudo apt-get install python-setuptools(3)安装biopythonsudo easy_install -f http://biopython.org/DIST/ biopython (DIST/和biopython之间有个空格)(4) 安装Numpy从http://numpy.scipy.org/下载numpy,现在的最新版本是numpy-1.6.1.tar.gztar -xzvpf numpy-1.6.1.tar.gzcd numpy-1.6.1/python setup.py buildsudo python setup.py install还可以继续安装一些其它的dependencies,如flex,ReportLab等等,暂时不装,需要的时候再装也可以。(4)改为Download Numpy1.6.1 and unpack it; using the following commands:wget http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/numpy-1.6.1.tar.gztar -zxvf numpy-1.6.1.tar.gzIf the environment variable PYTHONPATH happens to be set, unset it (you may set it again after installing Numpy):unset PYTHONPATHThe command that unpacks NumPy1.6.1 will have created a directory called "numpy1.6.1". Enter that directory and build the Numpy package with the help of the fortran compiler:cd numpy-1.6.1/python3.2 setup.py build --fcompiler=gnu95Ubuntu系统配置Evolution MailLinux 用find命令查找文件大小为XX的文件的办法相关资讯 Biopython 本文评论 查看全部评论 (0)