![]() ![]() git clone repositories/stable-diffusion.Create new folder to "stable-diffusion-webui" folder: mkdir repositories.Activate Conda environment: conda activate automatic.Because it uses environment-wsl2.yaml files for setup. Run this command in the "stable-diffusion-webui" folder.Create environment: conda env create -f environment-wsl2.yaml.This will create you a new folder called "stable-diffusion-webui". ![]() So I recommend locating it where you have other git folders. Again, it will clone that in the same folder as you are in Terminal.Run that command in same folder as you have downloaded the file before.If you require different Anaconda version, change link based to this Archive page.This will download that file to the folder where you are located now in Terminal.Navigate to your Ubuntu home folder, regardless of your current location, use the command: cd ~.Alternatively, you can also launch it from the Windows Start menu, it should be listed there after it has been installed. Open PowerShell and launch Ubuntu using this command, or launch it from the drop-down arrow near the tabs in the PowerShell window.Start WSL if it's not running: wsl -d ubuntu.dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart.dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart.To resolve this issue, start PowerShell as an administrator and enable the necessary features using the following two commands: NOTE: It is possible that you are unable to install Ubuntu and have encountered the error " Installing Linux failed, error code: 0x80370114" This could indicate that certain features are not enabled on Windows.After we have WSL installed, we can install Ubuntu distro on WSL: wsl -install Ubuntu.If you need more commands for WSL, those are here.First Install WSL in Windows PowerShell with command: wsl -install. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |