Vagrant up 时提示 powershell 版本过低怎么解决?
执行到“ cd ~/Homestead && vagrant up”这一步的时候,出现了以下提示:
The version of powershell currently installed on this host is less than
the required minimum version. Please upgrade the installed version of
powershell to the minimum required version and run the command again.
Installed version: 2
Minimum required version: 3
请问有人遇到过同样的问题吗?
高认可度评论:
已解决,根据这篇文章来升级了powershell。
http://www.cnblogs.com/wenBlog/p/6198354.h...
已解决,根据这篇文章来升级了powershell。
http://www.cnblogs.com/wenBlog/p/6198354.h...
楼上Savannah的做法是正确的,可以先 依次单击“开始”、“所有程序”、“附件”和“Windows PowerShell”,然后单击“Windows PowerShell”。
在 Windows PowerShell 控制台中的命令提示符下键入以下命令,然后按 ENTER:
Get-Host | Select-Object Version
不出意外的话,应该显示 你的版本为2
win7升级 powershell 4.0 需要本机 .net 版本不低于 4.5
否则安装了Windows6.1-KB2819745-x64-MultiPkg.msu也没用
win7升级 安装 powershell 3.0时 如果该更新报 不适合该计算机 则需要将win7更新到 sp1 才能安装powershell 3.0
找不到文章中所说的Microsoft Windows Management Framework 3.0 Beta (KB2506143),查了查百度win7内置power shell2.0卸载不了,所以文中的文件下下来直接安装就可以了,然后安装另一个Windows6.1-KB2506143-x64.msu,重启后发现安装成功powershell version 3.0,记得git bash也要重新打开一下,最后vagrant up顺利进行
@ATian 谢谢,解决了win7上的问题。
Windows6.1-KB2506143-x64 0x80240037 zhidao.baidu.com/question/15458119...
安装程序遇到错误:0x80240037 参考下www.cnblogs.com/tshaoguo/p/1014274...