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

查看:28
本文介绍了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 安装 biopython

然后import Bio为我工作

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

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