安装生物信息学软件-Biopython

其实好多东西装过好多次,然而每次都要翻文档,经常掉进前面掉进过的坑。。。所以这里重新写一份指南,以防下次再装又忘了(魂淡我并不想再装了啊不要立flag)

1. 安装biopython

1.1 因为biopython目前支持的是python2,所以我先把python调到2

1.2 安装numpy (http://www.numpy.org/)

NumPy is the fundamental package for scientific computing with Python. It contains among other things:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities

下载,解压,安装:

cd numpy-1.11.2

好吧,问题来了。现在需要1.3

1.3 安装setuptools

sudo apt-get install python-setuptools

sudo apt-get install python-pip(顺手装了pip)

1.4 然而我会报错

RuntimeError: Running cythonize failed!

所以。。。换用这个命令:sudo apt-get install python-numpy

显示安装成功。

1.5 安装Biopython

$ sudo easy_install -f http://biopython.org/DIST/ biopython

1.6 检验

 

posted @ 2016-10-23 09:59  陆离可  阅读(1229)  评论(0编辑  收藏  举报