Hyperv似乎未安装 [英] Hyperv does not appear to be installed

查看:179
本文介绍了Hyperv似乎未安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

超级V已启动.

操作系统:Winsows 10 Pro 内存:4GB

OS: Winsows 10 Pro RAM: 4GB

*****电源外壳在Admin模式下启动********

*****Power shell is started in Admin mode********

我已经创建了虚拟交换机管理器,然后尝试使用以下命令.

I have created a Virtual Switch Manager then I am trying the below command.

minikube start --vm-driver hyperv --hyperv-virtual-switch "Minikube Switch"它抛出以下错误.

minikube v1.7.2 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
* Using the hyperv driver based on user configuration
! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:
* Suggestion: Start PowerShell as Administrator, and run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All'
* Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/

似乎未安装X hyperv

X hyperv does not appear to be installed

推荐答案

我在Windows 10企业计算机上也遇到了相同的问题.正确执行以下步骤可能会解决我的问题:

I also experienced the same issue on my Windows 10 enterprise machine. Following below steps correctly probably solved my problem:

  1. 以管理员身份启动Windows Powershell.注意从管理员特权开始是必不可少的.
  2. 执行命令

  1. Start the Windows Powershell as administrator. Note starting with administrator privileges is essential.
  2. Execute command

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

成功执行后,重新启动系统.

After successful execution, restart the system.

执行命令

DISM/在线/启用功能/所有/功能名称:Microsoft-Hyper-V

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

执行命令

minikube start --vm-driver = hyperv

minikube start --vm-driver=hyperv

这篇关于Hyperv似乎未安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆