如何在虚拟环境中安装ACtive python?
我有这个问题,就像在这篇文章中回答https://stackoverflow.com/a/7458717/1958218一样
现在,通过在centos上使用active python解决了这个问题。但对于django,我使用的是virtualenv,在那里我遇到了同样的问题。但问题是我那里没有活动的python。
我尝试激活虚拟环境,然后使用此命令/opt/ActivePython-2.6/bin/pypm install mysql-python,但同样的错误
我想使用像这样的东西
/virtualenv/bin/ActivePython-2.6/bin/pypm install mysql-python发布于 2013-07-03 09:48:08
您可以告诉virtualenv您的python解释器在哪里。
Usage: virtualenv [OPTIONS] DEST_DIR
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose Increase verbosity
-q, --quiet Decrease verbosity
-p PYTHON_EXE, --python=PYTHON_EXE
The Python interpreter to use, e.g.,
--python=python2.5 will use the python2.5 interpreter
to create the new environment. The default is the
interpreter that virtualenv was installed withhttps://stackoverflow.com/questions/17438223
复制相似问题