安装:我在biopython的官网(http://www.biopython.org)中,找到了biopython的安装包,然后通过命令符和管理员命令符进行安装,可是python仍旧无法使用这个包
pip install biopython
然后我在网上查到说是因为没有将biopython安装在python的目录下,[哭],小白不懂python的目录在哪里
解决方案:直接在python里面安装即可
file—settings—project:python project—project interpreter,然后点击如下图中的“ + ”。


这样就安装完成啦,是不是很简单。
在python界面,import Bio 导入biopython包,B要大写
print(Bio._ version _) ,通过检验biopython的版本,检验biopython已经成功安装。
import Bio
print(Bio.__version__)
网友评论