carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.77k stars 415 forks source link

there is no module named dream_textures.api #755

Closed wizard3376 closed 6 months ago

wizard3376 commented 9 months ago

Description Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable mod = importlib.import_module(module_name) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlibinit.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in find_and_load File "", line 1006, in find_and_load_unlocked File "", line 688, in load_unlocked File "", line 883, in exec_module File "", line 241, in call_with_frames_removed File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures_init.py", line 39, in from .render_pass import register_render_pass, unregister_render_pass, pass_inputs File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\render_pass.py", line 7, in from .generator_process import Generator File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process_init.py", line 3, in class Generator(Actor): File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process_init.py", line 9, in Generator from .actions.load_model import load_model File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\actions\load_model.py", line 4, in from ..models import Checkpoint, ModelConfig, Scheduler File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\models_init.py", line 2, in from .image_generation_result import * File "C:\Users\nohan\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\generator_process\models\image_generation_result.py", line 6, in from ...api.models.step_preview_mode import StepPreviewMode ModuleNotFoundError: No module named 'dream_textures.api'

Steps to Reproduce i click on install and it give this error

Expected Behavior it give an error

Addon Version Windows (CUDA)

GPU NVIDIA Help is needed!!!

ggxxii commented 9 months ago

hi, I also encountered this problem, u just need to manually unzip the file into the blender add-on path in your C:/

wizard3376 commented 9 months ago

Thank you!! but now the next problem: stable diffusion 2.1 is not installed, what should I do?

ggxxii commented 9 months ago

Maybe u can follow the docs here: https://docs.google.com/document/d/1SbJ8CwtvekoLxGtlPs-GAzAPh6FsMC2UUD6mYoJZ8Tc/edit#heading=h.bkx5aev684r6

If the download is not started, u can manually download the checkpoint into the '.cache' path

jordanbr20 commented 8 months ago

I found the fix for this.

Open up file explorer and navigate to "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\addons\"

If "dream_textures" folder is not there, create it.

Open the Zip file

Drag the zipped files to the Dream_textures folder from above.

Retest. I did not even have to restart blender for this.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.