biopython没有名为Bio的模块 [英] biopython no module named Bio

查看:488
本文介绍了biopython没有名为Bio的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅供参考:这不是重复的!

FYI: this is NOT a duplicate!

在运行我的python代码之前,我在cmd提示符下安装了biopython:

Before running my python code I installed biopython in the cmd prompt:

pip install biopython

当我尝试将其导入python时,我收到一条错误消息,提示没有名为Bio的模块"

I then get an error saying 'No module named Bio' when try to import it in python

import Bio

同一件事发生在

import biopython     

应该注意,我已经更新了PIP并运行python 3.5.2
我感谢任何人的帮助.

It should be noted I have updated PIP and run python 3.5.2
I appreciate anyone's help.

推荐答案

使用此:

pip3 install biopython

,然后import Bio 为我工作

这篇关于biopython没有名为Bio的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆