运行PIP从Vista的PowerShell内安装Python包

即时通讯试图遵循这个相当不错的指南http://www.tylerbutler.com/2012/05/28/how-to-install-python-pip-and-virtualenv-on-windows-with-powershell/

但即时通讯尝试安装virtualenv时得到以下错误

PS C:\> pip install virtualenv The term 'pip' is not recognized as the name of a cmdlet, function, script file , or operable program. Check the spelling of the name, or if a path was include d, verify that the path is correct and try again. At line:1 char:4 + pip <<<< install virtualenv + CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFound Exception + FullyQualifiedErrorId : CommandNotFoundException 

即时消息一个mac用户通常,所以我明白如何使用,不知道为什么这不工作。 PowerShell不太好。

好吧,通过电子邮件发送文章的作者,他指出c:\ Python27 \ Scripts需要在路径/ PS $ env:路径PIP被拿起。

一旦这样排序,它会安装好。