diff --git a/Troubleshooting.md b/Troubleshooting.md index cab1783e..1b087914 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -44,3 +44,27 @@ After this, you can access the server at `http://localhost:1337` (where 1337 is Please ensure that you have an NVIDIA GPU and the latest [NVIDIA driver](http://www.nvidia.com/Download/index.aspx), and that you've installed [nvidia-container-toolkit](https://stackoverflow.com/a/58432877). Also, if you are using WSL (Windows), please ensure you have the latest WSL kernel by running `wsl --shutdown` and then `wsl --update`. (Thanks [AndrWeisR](https://github.com/AndrWeisR)) + +# For support queries +## Entering a conda environment in an existing installation +This will give you an activated conda environment in the terminal, so you can run commands and force-install any packages, if required. + +Users don't need to have the Anaconda Prompt installed to do this anymore, since the installer bundles a portable version of conda inside it. Just follow these steps. + +**Windows:** +1. Open the terminal: Press Win+R, type "cmd", and press "Run" +2. Type `cd C:\stable-diffusion-ui` and press enter (or wherever you've installed it) +3. Type `installer\Scripts\activate.bat` and press enter +4. Type `cd stable-diffusion` and press enter +5. Type `conda activate .\env` and press enter +6. Type `python --version` and press enter. You should see 3.8.5. + +**Windows:** +1. Open the terminal +2. Type `cd /path/to/stable-diffusion-ui` and press enter +3. Type `installer/bin/activate` and press enter +4. Type `cd stable-diffusion` and press enter +5. Type `conda activate ./env` and press enter +6. Type `python --version` and press enter. You should see 3.8.5. + +This will give you an activated conda environment. To confirm, type `python --version` and press enter. You should see 3.8.5.