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

stable diffusion launch error #652

Closed
37OMKAR opened this issue May 25, 2024 · 1 comment
Closed

stable diffusion launch error #652

37OMKAR opened this issue May 25, 2024 · 1 comment

Comments

@37OMKAR
Copy link

37OMKAR commented May 25, 2024

cant launch stable diffusion,

have updated,

have stable version of stability matrix,

cant restart system,

have NVDIA grafic card 2060 12 gb

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
Launching Web UI with arguments: --medvram-sdxl --xformers --api --autolaunch --skip-torch-cuda-test --skip-python-version-check --skip-install --gradio-allowed-path F:\StabilityMatrix-win-x64\Data\Images
Traceback (most recent call last):
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\launch.py", line 48, in
main()
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\launch.py", line 44, in main
start()
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\launch_utils.py", line 465, in start
import webui
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\webui.py", line 13, in
initialize.imports()
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\initialize.py", line 39, in imports
from modules import processing, gradio_extensons, ui # noqa: F401
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\processing.py", line 18, in
import modules.sd_hijack
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\sd_hijack.py", line 5, in
from modules import devices, sd_hijack_optimizations, shared, script_callbacks, errors, sd_unet, patches
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\sd_hijack_optimizations.py", line 13, in
from modules.hypernetworks import hypernetwork
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\hypernetworks\hypernetwork.py", line 8, in
import modules.textual_inversion.dataset
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\textual_inversion\dataset.py", line 12, in
from modules import devices, shared, images
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\images.py", line 22, in
from modules import sd_samplers, shared, script_callbacks, errors
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\sd_samplers.py", line 5, in
from modules import sd_samplers_kdiffusion, sd_samplers_timesteps, sd_samplers_lcm, shared, sd_samplers_common, sd_schedulers
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\modules\sd_samplers_kdiffusion.py", line 3, in
import k_diffusion.sampling
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\repositories\k-diffusion\k_diffusion_init_.py", line 1, in
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\repositories\k-diffusion\k_diffusion\evaluation.py", line 6, in
import clip
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\clip_init_.py", line 1, in
from .clip import *
File "F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\clip\clip.py", line 6, in
from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources' (F:\StabilityMatrix-win-x64\Data\Packages\Stable Diffusion WebUI\venv\lib\site-packages\pkg_resources_init_.py)

@mohnjiles
Copy link
Contributor

This was fixed with v1.9.4 of Stable Diffusion WebUI - AUTOMATIC1111/stable-diffusion-webui#15882 - please try updating and re-open this issue if it still occurs. Thanks!

mohnjiles added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Jun 12, 2024
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

2 participants