Skip to content
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

conda: command not found #81

Closed
FelipeLujan opened this issue Sep 6, 2022 · 6 comments
Closed

conda: command not found #81

FelipeLujan opened this issue Sep 6, 2022 · 6 comments

Comments

@FelipeLujan
Copy link

Hi, i cloned the repo on a GCP VM and followed the installation steps

Im getting the following error when running build.sh (start.sh doesn't exist on the main branch anymore)

logs
sudo bash ./build.sh

Downloading components for the installer..
./build.sh: line 7: /root/miniconda3/etc/profile.d/conda.sh: No such file or directory
./build.sh: line 9: conda: command not found
./build.sh: line 11: conda: command not found
./build.sh: line 12: conda: command not found
Creating a distributable package..
./build.sh: line 16: conda: command not found
mkdir: cannot create directory ‘installer’: File exists
tar: ../../installer.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mkdir: cannot create directory ‘scripts’: File exists
Build ready. Zip the 'dist/stable-diffusion-ui' folder.
Cleaning up..
rm: cannot remove 'installer.tar': No such file or directory

**~/stable-diffusion-ui$ uname -a**
Linux instance-2 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux

specs
image

@SharkyGoChompChomp21
Copy link

Hi I'm a Big noob, I left windows & use Linux Mint
I think I have a similar Error with trying to install it on Linux Mint
Here's what I got from the terminal on Linux mint


CondaSignalInterrupt: Signal interrupt SIGINT

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'm not sure, like I said a total noob when it comes to linux

@hortinstein
Copy link

https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html#

install miniconda here...but yeah the update listed no deps...so probably should fix this

@SharkyGoChompChomp21
Copy link

@hortinstein I'm sorry but I'm just more confused now. shouldn't miniconda download automatically when you run ./start.sh ?
I downloaded Miniconda3 Linux 64-bit.
I tried to run it in the terminal with "bash: Miniconda3-latest-Linux-x86_64.sh: No such file or directory"
and I get an error. I'm using linux mint, maybe it's a little different?

@cmdr2
Copy link
Collaborator

cmdr2 commented Sep 7, 2022

@FelipeLujan hi, it looks like you've downloaded the git repository. Please download by using the link in the installation instructions. That will contain the correct start.sh file. Thanks!

@cmdr2
Copy link
Collaborator

cmdr2 commented Sep 7, 2022

@SharkyGoChompChomp21 @hortinstein Developer here - you do not need to install miniconda, it will automatically manage things.

@SharkyGoChompChomp21 Can you please paste the full error message? Also, did you download from the installation instructions or did you download the entire git repository? Thanks!

@SharkyGoChompChomp21
Copy link

@cmdr2 I deleted the folder I tried to install it from and restarted.
I downloaded it from https://github.com/cmdr2/stable-diffusion-ui#installation
In the installation section I clicked the highlighted "for linux" text and downloaded it.
I extracted the contents to a folder I named StableDiffusion (Specifically with no spaces since I think that was my issue).
I ran it through the linux mint terminal.

And it actually installed, like wow, all I had to do was reinstall it. I was getting some funky errors. but since I deleted the folder I started from, I also deleted the full error message you was asking me for.

Anyways it opened a window in my browser after it finished (Is it supose to do that?)
I typed in a promt but stable diffusion crashed my computer so I had to type all of this up again.

@cmdr2 cmdr2 closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants