为现有Django项目设置virtualenv时出错
|
我获取了一个我想玩的项目的源代码,并且试图设置virtualenv。我运行的命令是:
. virtualenv
结果是:
__requires__: command not found
The program \'import\' can be found in the following packages:
* imagemagick
* graphicsmagick-imagemagick-compat
Try: sudo apt-get install <selected package>
from: can\'t read /var/mail/pkg_resources
bash: /usr/local/bin/virtualenv: line 8: syntax error near unexpected token `newline\'
bash: /usr/local/bin/virtualenv: line 8: ` sys.exit(\'
这是与Python 2.7.1一起使用的,而virtualenv与我的其他项目一起使用。
没有找到相关结果
已邀请:
1 个回复
蜂佬渺
或
。
将尝试导入并执行Python脚本作为shell脚本。