【问题标题】:ImportError when importing from Bio.PDB从 Bio.PDB 导入时出现 ImportError
【发布时间】:2012-05-25 14:01:21
【问题描述】:

我想使用Biopython的PDBParser下载PDB文件,但是尝试导入时出现这个错误:

回溯(最近一次调用最后):文件“C:\Python27\TAAREA 3 FINAL.PY”,第 33 行,在 [HTML] 中来自 Bio.PDB 导入 * 文件“C:\Python27\lib\site-packages \Bio\PDB_init_.py",第 15 行,在 [HTML] from PDBParser import PDBParser 文件 "C:\Python27\lib\site-packages\Bio\PDB\PDBParser.py",第 13 行,在 [HTML] import numpy ImportError:没有名为 numpy 的模块

这是怎么回事?

【问题讨论】:

    标签: biopython


    【解决方案1】:

    Biopython 需要 numpy 模块。您需要安装 numpy 才能使用 Biopython。你可以找到最新版本here

    【讨论】:

      猜你喜欢
      • 2014-09-01
      • 1970-01-01
      • 2014-08-01
      • 2017-05-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-21
      相关资源
      最近更新 更多