Open t8ja opened 1 year ago
if you are using fast stable diffusion by TheLastBen colab notebook then
replace import launch
with import ./content/gdrive/MyDrive/sd/stable-diffusion-webui/launch
in extensions in /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/depthmap2mask/install.py
file.
Only local installs. At first I tried automatic1111's install in the py virtual environment, then I found the docker version with different UIs, using the same "auto" UI, with the same error, but now I have to figure out how to use docker i.e. see the files, cause I can't see them in the directory.. but that's a different problem.
In summary, two types of local install. I'm not well versed in this area.
This "launch" module just runs a git clone command in bash, puts the folder in "repositories/midas" and renames the folder to "midas". Did it really take me this long to figure it out.
Just in case others come here looking for an answer that may be related to "launch' for windows I like you was having many issues with 'pip install launch' and getting a reporting error of "ERROR: Cannot install launch==0.1.0, launch==0.1.1, launch==0.1.2 and launch==0.1.3 because these package versions have conflicting dependencies. The conflict is caused by: launch 0.1.3 depending on , flowdas-meta\<1.1 and >=1.0.1 launch 0.1.2 depends on flowdas-meta\<1.1 and >=1.0.1 launch 0.1.1 depends on flowdas-meta\<1.1 and >=1.0.1 launch 0.1.0 depends on flowdas-meta\<1.1 and >=1.0.1\ To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependen I went ahead and downloaded the Downloading launch-0.1.3.tar.gz (10 kB) Downloading launch-0.1.2.tar.gz (10 kB) Downloading launch-0.1.1.tar.gz (10 kB) Downloading launch-0.1.0.tar.gz (7.2 kB) that the call was asking for, upon examination of the setup.py in the folder 'launch-0.1.3' the first line of 'install_requires' had the call to download flowdas to a defunct https://bitbucket.org/flowdas/launch, it simply is nonexistent and there are a lot of people that can't download it, but still need it. I went ahead and emailed the author. After all that I went and updated my flowdas to 0.5.0 https://pypi.org/project/flowdas/ 'pip install flowdas' installed it then I went back to setup.py and changed the first three lines to update to install_requires = [ 'flowdas>=0.5.0,<0.6.0', 'click>=6.7,<6.8', 'PyYAML>=3.12,<3.13', , to reflect all the new updated versions to be installed that includes all three lines, in the root folder of launch-0.1.3 I executed the pip install -e . , and wouldn't you know it installed, all of it... Now I am not responsible for what happens if anything to your machine, as this works for me and my application and it may not work for you, best to do everything you can in a VENV. Hope that helps! bingo, bongo, bango, you're the rock star, get after it!
Just in case others come here looking for an answer that may be related to "launch' for windows I like you was having many issues with 'pip install launch' and getting a reporting error of "ERROR: Cannot install launch==0.1.0, launch==0.1.1, launch==0.1.2 and launch==0.1.3 because these package versions have conflicting dependencies. The conflict is caused by: launch 0.1.3 depending on , flowdas-meta<1.1 and >=1.0.1 launch 0.1.2 depends on flowdas-meta<1.1 and >=1.0.1 launch 0.1.1 depends on flowdas-meta<1.1 and >=1.0.1 launch 0.1.0 depends on flowdas-meta<1.1 and >=1.0.1 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependen I went ahead and downloaded the Downloading launch-0.1.3.tar.gz (10 kB) Downloading launch-0.1.2.tar.gz (10 kB) Downloading launch-0.1.1.tar.gz (10 kB) Downloading launch-0.1.0.tar.gz (7.2 kB) that the call was asking for, upon examination of the setup.py in the folder 'launch-0.1.3' the first line of 'install_requires' had the call to download flowdas to a defunct https://bitbucket.org/flowdas/launch, it simply is nonexistent and there are a lot of people that can't download it, but still need it. I went ahead and emailed the author. After all that I went and updated my flowdas to 0.5.0 https://pypi.org/project/flowdas/ 'pip install flowdas' installed it then I went back to setup.py and changed the first three lines to update to install_requires = [ 'flowdas>=0.5.0,<0.6.0', 'click>=6.7,<6.8', 'PyYAML>=3.12,<3.13', , to reflect all the new updated versions to be installed that includes all three lines, in the root folder of launch-0.1.3 I executed the pip install -e . , and wouldn't you know it installed, all of it... Now I am not responsible for what happens if anything to your machine, as this works for me and my application and it may not work for you, best to do everything you can in a VENV. Hope that helps! bingo, bongo, bango, you're the rock star, get after it! if I import launch,it will response:ImportError: cannot import name 'meta' from 'flowdas' ,how can I solve it.
OS: Arch Linux
https://libraries.io/pypi/flowdas-meta https://pypi.org/search/?q=flowdas-meta