English 中文(简体)
需要帮助安装Biopython
原标题:Need help installing Biopython

Have mac OS 10.6 and have python verion 2.7 32 bit intalled as well as numpy and scipy. also have xcode version 3.2, Im really confused as to what to do at this point. I download biopython version 1.59 and tried to run the setup code in python but it wont work. what am i missing?

当我尝试在空闲中运行设置文件时, 我收到此错误消息 :

Traceback (most recent call last):
File "/Users/Cliff/Downloads/biopython-1.58/setup.py", line 379, in <module>
 Bio.PopGen : [ SimCoal/data/*.par ],
File   "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line    140, in setup
raise SystemExit, gen_usage(dist.script_name) + "
error: %s" % msg
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied
问题回答

您需要从终端. app 中运行 < code> python setup. py 安装 。 您应该参加一个shall, tcsh, et. shell, 而不是 Python shell 。

Just as an probably easier alternative: Biopython is also available via pip:

pip install biopython

或者通过生物孔达(Bioconda),

conda install biopython

仅此安装小孔达(非常容易,不要求管理权), 由< a href="https://conda.io/miniconda.html" rel=" no follown noreferrer">here 。 然后根据< a href=> 添加生物孔达频道(https://bioconda.github.io/http://"rel="nofolve noreferr" >这些简单的说明。

紧紧的这两个简单的选项在 Biphython 教程中丢失了 。

错误显示您没有为安装脚本提供命令。 通常的命令是安装, 所以尝试 :

python setup.py install

无论如何,如错误所示,您可以使用:

python setup.py --help




相关问题
Curve fitting with lmfit for Mossbauer spectroscopy

Im pretty new to lmfit and I keep running into this error. My dataset is pretty large ~27000 points of data from I gather: my error msg import numpy as np import matplotlib.pyplot as plt from lmfit ...

Python SocketServer: sending to multiple clients?

Well, I m trying to build a small python prgram with a SocketServer that is supposed to send messages it receives to all connected clients. I m stuck, I don t know how to store clients on the ...

Is there no mysql connector for python 2.7 on windows

While I see a bunch of links/binaries for mysql connector for python 2.6, I don t see one for 2.7 To use django, should I just revert to 2.6 or is there a way out ? I m using windows 7 64bit django ...

How to update the image of a Tkinter Label widget?

I would like to be able to swap out an image on a Tkinter label, but I m not sure how to do it, except for replacing the widget itself. Currently, I can display an image like so: import Tkinter as ...

PyScripter for Python 2.7

How to run PyScripter if you have Python 2.7 installed? There is a command line parameter for Pyscipter to tell it which pythonXX.dll to use, but I can t get this working.

How to set time limit on raw_input

in python, is there a way to, while waiting for a user input, count time so that after, say 30 seconds, the raw_input() function is automatically skipped?

热门标签