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

ImportError #214

Open
fang1531 opened this issue Jul 27, 2024 · 0 comments
Open

ImportError #214

fang1531 opened this issue Jul 27, 2024 · 0 comments

Comments

@fang1531
Copy link

Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 39, in imports
from modules import processing, gradio_extensons, ui # noqa: F401
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 18, in
import modules.sd_hijack
File "/content/gdrive/MyDrive/sd/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 "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 13, in
from modules.hypernetworks import hypernetwork
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py", line 8, in
import modules.textual_inversion.dataset
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/textual_inversion/dataset.py", line 12, in
from modules import devices, shared, images
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/images.py", line 22, in
from modules import sd_samplers, shared, script_callbacks, errors
File "/content/gdrive/MyDrive/sd/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 "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 3, in
import k_diffusion.sampling
File "/content/gdrive/MyDrive/sd/stablediffusion/src/k-diffusion/k_diffusion/init.py", line 1, in
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/content/gdrive/MyDrive/sd/stablediffusion/src/k-diffusion/k_diffusion/augmentation.py", line 6, in
from skimage import transform
File "/usr/local/lib/python3.10/dist-packages/skimage/_shared/lazy.py", line 62, in getattr
return importlib.import_module(f'{package_name}.{name}')
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.10/dist-packages/skimage/transform/init.py", line 4, in
from .radon_transform import (radon, iradon, iradon_sart,
File "/usr/local/lib/python3.10/dist-packages/skimage/transform/radon_transform.py", line 6, in
from ._warps import warp
File "/usr/local/lib/python3.10/dist-packages/skimage/transform/_warps.py", line 9, in
from ..measure import block_reduce
File "/usr/local/lib/python3.10/dist-packages/skimage/measure/init.py", line 2, in
from ._marching_cubes_lewiner import marching_cubes
File "/usr/local/lib/python3.10/dist-packages/skimage/measure/_marching_cubes_lewiner.py", line 7, in
from ._marching_cubes_classic import _marching_cubes_classic
File "/usr/local/lib/python3.10/dist-packages/skimage/measure/_marching_cubes_classic.py", line 3, in
from . import _marching_cubes_classic_cy
ImportError: cannot import name '_marching_cubes_classic_cy' from partially initialized module 'skimage.measure' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/skimage/measure/init.py)

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

1 participant