我知道PyPy在Biopython中有Numpy和其他东西的问题,但不是所有的Biopython模块都使用这些东西。。。
有人知道如何将模块Bio导入和使用到PyPy中吗?

最佳答案

您应该能够像在普通Python版本中那样安装它。PyPy已经包含在Biopython的集成测试中。
使用virtualenvwrapper的示例:

$ mkvirtualenv -p /usr/bin/pypy biopy
$ workon biopy
$ cd biopython  # or wherever your biopython directory is
$ python setup.py install
$ python -c 'import Bio'

如果上面的命令没有显示任何错误消息,那么它应该可以工作。

关于python - 如何在PyPy上使用Biopython?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/13769433/

10-11 18:12