-
-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Stable Diffusion on Linux Mint Error #82
Comments
I decided to rename my folder where I house the stable-diffusion-ui from "Stable Diffusion" to "StableDiffusion", Simply removing that space decluttered a lot of the terminal junk text when I try to run Stable Diffusion. I still get an error though, but it feels like progress since it's a different error From my understanding the terminal is trying to find conda but sees it has no directory, (Which I thought it would make it on it's own). Could this be the error? Here's the Error I got Stable Diffusion UI Stable Diffusion UI's git repository was already installed. Updating.. Downloading packages necessary for Stable Diffusion.. ***** This will take some time (depending on the speed of the Internet connection) and may appear to be stuck, but please be patient ***** .. installer/etc/profile.d/conda.sh: line 34: /home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/installer/bin/conda: No such file or directory Error installing the packages necessary for Stable Diffusion. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues I really feel like I'm getting much closer to solving this issue |
I had the same issue. I deleted everything and started again in a folder without a space in its name. I think if you change the name of the folder after getting part way through the install, the old folder name is stored in a couple of places. Basically, delete everything and start again making sure there's no spaces in the path and everything should work. Or at least it did for me. |
Okay I'm gonna try Deleting the entire folder and start again |
I GOT IT TO WORK!!! well I installed it. I typed in a text for stable diffusion to generate and it crashed my computer this is what I mean by it worked. Here's exactly what I did for anyone having the same issue. I'm using linux mint
I hope this helps |
This is what Happend Stable Diffusion is ready! started in /home/sharky/Desktop/StableDiffusion/stable-diffusion-ui/stable-diffusion |
Thanks for your patience @SharkyGoChompChomp21 ! Did it generate images after your restarted your PC? Thanks |
I had some trouble getting it to work with my laptop's pretty limited RAM. You'll probably want at least 16GB of ram and even then be sure not to have too many things open in the background. I managed to get it to work once I set up some swap space, but it definitely slowed things down quite a bit. |
@cmdr2 |
@SharkyGoChompChomp21 |
Hi @SharkyGoChompChomp21 16 GB will work quite comfortably. 8 GB is probably too tight and hasn't worked in my experience. Unfortunately there isn't much I can do if it's running out of RAM, we'll have to wait for the Stable Diffusion team to make a less memory-intensive version (it's on their roadmap). You can try some of the online hosted versions of Stable Diffusion, or the Google Colabs that people have set up. Closing this, thanks! :) |
I tried Installing Stable Diffusion V2 on Linux Mint again & again and here's what Error I got. I'm a BIG Noob so explain like I'm Five!
Stable Diffusion UI
Stable Diffusion UI's git repository was already installed. Updating..
HEAD is now at 051ef56 Merge pull request #79 from iJacqu3s/patch-1
Already up to date.
Stable Diffusion's git repository was already installed. Updating..
HEAD is now at c56b493 Merge pull request #117 from neonsecret/basujindal_attn
Already up to date.
Downloading packages necessary for Stable Diffusion..
***** This will take some time (depending on the speed of the Internet connection) and may appear to be stuck, but please be patient ***** ..
WARNING: A space was detected in your requested environment path
'/home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/stable-diffusion/env'
Spaces in paths can sometimes be problematic.
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(730): An error occurred while installing package 'defaults::cudatoolkit-11.3.1-h2bc3f7f_2'.
Rolling back transaction: done
LinkError: post-link script failed for package defaults::cudatoolkit-11.3.1-h2bc3f7f_2
location of failed script: /home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/stable-diffusion/env/bin/.cudatoolkit-post-link.sh
==> script messages <==
==> script output <==
stdout:
stderr: Traceback (most recent call last):
File "/home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/installer/bin/conda", line 12, in
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
Traceback (most recent call last):
File "/home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/installer/bin/conda", line 12, in
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
/home/sharky/Desktop/Stable Diffusion/stable-diffusion-ui/stable-diffusion/env/bin/.cudatoolkit-post-link.sh: line 3: $PREFIX/.messages.txt: ambiguous redirect
return code: 1
()
Error installing the packages necessary for Stable Diffusion. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues
Hope this helps someone!
The text was updated successfully, but these errors were encountered: