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

[Bug]: #15879

Open
3 of 6 tasks
CrashedPlatz opened this issue May 24, 2024 · 2 comments
Open
3 of 6 tasks

[Bug]: #15879

CrashedPlatz opened this issue May 24, 2024 · 2 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@CrashedPlatz
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Fresh Installation of automatic 1111. I had been stuck on this error for a while. I swapped through a few versions of pythons(from 3.10.6 to 3.10.11 to 3.12.3.) However, I noticed that at the top it still says

"Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.3" even though I swapped to 3.10.11 and 3.12.3.

The main error is that it cannot import one file into python.

I understand its probably something wrong with my Python or something, could anybody tell me how to fix this?

Steps to reproduce the problem

  1. Download a fresh install
    Double Click webui-user.bat

What should have happened?

WebUi should have started

What browsers do you use to access the UI ?

No response

Sysinfo

System.txt

Console logs

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "C:\Users\Admin\Downloads\sd.webui\webui\launch.py", line 48, in <module>
    main()
  File "C:\Users\Admin\Downloads\sd.webui\webui\launch.py", line 44, in main
    start()
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\launch_utils.py", line 465, in start
    import webui
  File "C:\Users\Admin\Downloads\sd.webui\webui\webui.py", line 13, in <module>
    initialize.imports()
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\initialize.py", line 39, in imports
    from modules import processing, gradio_extensons, ui  # noqa: F401
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\processing.py", line 18, in <module>
    import modules.sd_hijack
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\sd_hijack.py", line 5, in <module>
    from modules import devices, sd_hijack_optimizations, shared, script_callbacks, errors, sd_unet, patches
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\sd_hijack_optimizations.py", line 13, in <module>
    from modules.hypernetworks import hypernetwork
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\hypernetworks\hypernetwork.py", line 8, in <module>
    import modules.textual_inversion.dataset
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\textual_inversion\dataset.py", line 12, in <module>
    from modules import devices, shared, images
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\images.py", line 22, in <module>
    from modules import sd_samplers, shared, script_callbacks, errors
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\sd_samplers.py", line 5, in <module>
    from modules import sd_samplers_kdiffusion, sd_samplers_timesteps, sd_samplers_lcm, shared, sd_samplers_common, sd_schedulers
  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\sd_samplers_kdiffusion.py", line 3, in <module>
    import k_diffusion.sampling
  File "C:\Users\Admin\Downloads\sd.webui\webui\repositories\k-diffusion\k_diffusion\__init__.py", line 1, in <module>
    from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
  File "C:\Users\Admin\Downloads\sd.webui\webui\repositories\k-diffusion\k_diffusion\evaluation.py", line 6, in <module>
    import clip
  File "C:\Users\Admin\Downloads\sd.webui\system\python\lib\site-packages\clip\__init__.py", line 1, in <module>
    from .clip import *
  File "C:\Users\Admin\Downloads\sd.webui\system\python\lib\site-packages\clip\clip.py", line 6, in <module>
    from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources' (C:\Users\Admin\Downloads\sd.webui\system\python\lib\site-packages\pkg_resources\__init__.py)
Press any key to continue . . .

Additional information

No response

@CrashedPlatz CrashedPlatz added the bug-report Report of a bug, yet to be confirmed label May 24, 2024
@w-e-w
Copy link
Collaborator

w-e-w commented May 28, 2024

fix has bee pushed to 1.9.4 so update to make it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants