I am trying to install Windows Subsystem for Linux (WSL).
For simplified installation, when I try to run “wsl --install” in the command window, I receive this message:
“The requested operation requires elevation.”
For manual installation, when I try to run “dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart”, I receive this message:
“Error: 740
Elevated permissions are required to run DISM.
Use an elevated command prompt to complete these tasks.”
Also as a follow-up, does anyone know how to kill the Vmmem process which is taking up nearly 30-40% memory and doing wsl --shutdown only reduces the memory consumption by half but doesn’t kill it.
I resolved the problem by right-clicking the Windows PowerShell & Command Prompt apps and clicking “Run as administrator”.
However, I now have a new problem; When I open the Linux distribution, it states the following:
“Installing, this may take a few minutes…
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See Install WSL on Windows 10 | Microsoft Docs for details.
Press any key to continue…”
Windows Subsystem for Linux is enabled in my notebook but I still get the message above.
The Linux distributions I installed & opened, and where I received this same message, are:
Debian;
Ubuntu 18.04 LTS; and
Ubuntu 20.04 LTS.
Hi A-J
Elevated means when you type in ISE in the search bar you need to select the Run as Administrator.
Are you following Install WSL on Windows 10 | Microsoft Docs
Regards Conwyn
I get this message from AWS:
“Launch Failed
You have requested more vCPU capacity than your current vCPU limit of 2 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit.”
I requested & obtained approval for the adjustment to the limit but still get the error message above.
I managed to solve my problems up until “source ~/.bashrc” (Step 6; AWS EC2).
When I input “conda install -yq mamba”, I receive this message:
Collecting package metadata (current_repodata.json): …working… done
Solving environment: …working… failed with initial frozen solve. Retrying with flexible solve.
Solving environment: …working… failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): …working… done
Solving environment: …working… failed with initial frozen solve. Retrying with flexible solve.
Solving environment: …working…
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
If python is on the left-most side of the chain, that’s the version you’ve asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your system:
I am falling over at exactly the same point. Managed to install Mamba using: conda install -c conda-forge mamba, which I do NOT recommend, as although I could get the notebooks to open, I could not see the fastai libraries, so some dependencies got screwed.
Install Anaconda, git Pytorch and fastai and create the environment. Anaconda has Jupyter Notebook support built in. You could be doing your homework in an hour.
Sorry, I know this is no help if you must absolutely run in linux. My sympathy, if so.
Also running into this issue…Installing mamba through ‘conda install -yq mamba’ brings the error:
<< failed with initial frozen solve. Retrying with flexible solve>>. Has anyone managed to solve it? Thanks