1
我抓住了我想玩的項目的源代碼,並試圖設置virtualenv。我運行的命令是:爲現有的Django項目設置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中我的其他項目的工作。
謝謝! 「virtualenv」。是我所需要的,我做的是相反的。 – 2011-05-31 17:41:54