dream-textures icon indicating copy to clipboard operation
dream-textures copied to clipboard

OSerror(22, 'Cannot find specified module.; , none, 126

Open yungappa opened this issue 2 years ago • 10 comments

After installing the v0.0.6, adding it in administrator mode and downloading the needed assets multiple times (redownloaded and installed the add-on 3 times already) I keep getting the same message. The message is in dutch for some reason, but translated it says "cannot find the specified module"

image

Steps to reproduce the behavior:

  1. Installed dream_textures-win32-cuda.7z
  2. downloaded 7-Zip, then extracted it with Extract Here
  3. Opened blender as administrator and installed the add-on
  4. Downloaded sd-v1-4.ckpt weights and renamed it to model.ckpt
  5. Add-on fully installed (see screenshot) image
  6. type in a prompt, in this case 'grass'
  7. Get the error
  8. Retry the installation multiple times with restarting Blender, same problem

System (please complete the following information):

  • OS
    • [x] Windows
    • [ ] macOS
    • [ ] Other
  • GPU
    • [x] NVIDIA
    • [ ] NVIDIA 16XX
    • [ ] Apple Silicon
    • [ ] AMD
  • Addon Version
    • Latest

yungappa avatar Sep 28 '22 12:09 yungappa

Can you try to delete the folders huggingface and torch in %HOMEPATH%\.cache\

carson-katri avatar Sep 28 '22 12:09 carson-katri

Same error here, but I can't locate the aforementioned foders to delete. image

ESPPIRAL avatar Sep 29 '22 17:09 ESPPIRAL

I am getting the same error. Tride deleting the huggingface cache but didn't have the torch cache.

Windows 11 and Nvidia

Bigfellas avatar Sep 30 '22 05:09 Bigfellas

Same here. Clicking "Generate", "Initializing process"... about a second later, boom. image

.cache folder contained none of the folders (checked hidden) I tried changing the sampler. What might be of interest: I followed a YT tutorial on this topic, and the video guy has "Node: Dream Textures" in the add-ons. I have "Paint: Dream textures" following the exact same steps. Not sure if this matters. v0.0.6

Ysaare avatar Oct 03 '22 21:10 Ysaare

I have the same problem. I get a new empty PC with only Blender and this Addon installed and if I try to click "Generate" I get the "OSerror(22, 'Cannot find specified module.; , none, 126" error. I tried this Addon on Blender 3.2 and 3.3 and I get the the same Error. With my old PC it worked without any problems but this Addon wont work on my new PC. I can't locate the hugginface and torch folder too. I using Windows 10 with NVIDIA RTX 3090 TI.

SSA4 avatar Oct 07 '22 12:10 SSA4

I have the same problem. I get a new empty PC with only Blender and this Addon installed and if I try to click "Generate" I get the "OSerror(22, 'Cannot find specified module.; , none, 126" error. I tried this Addon on Blender 3.2 and 3.3 and I get the the same Error. With my old PC it worked without any problems but this Addon wont work on my new PC. I can't locate the hugginface and torch folder too. I using Windows 10 with NVIDIA RTX 3090 TI.

try version 0.0.7 pre-release

neoOpus avatar Oct 07 '22 13:10 neoOpus

I already used the 0.07 pre-release version. This is the more detailed error I get from the console. error The german sentece means: "Cannot find the specified module"

SSA4 avatar Oct 07 '22 13:10 SSA4

Looks like asmjit.dll requires the Microsoft visual C++ redistributable to be installed.

https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Most of you will likely need the x64 architecture version installed, x86 if you are somehow still running 32-bit Windows. You may also have to restart your computer after installing.

NullSenseStudio avatar Oct 07 '22 14:10 NullSenseStudio

EDIT: I actually messed up the first previously and forgot to assign a material, that's why I got a different error, the issue persists.

After updating to 0.0.7 and installing MS visual C++ redist the error message is gone (in fact it's a different this time, but probably unrelated) so thanks!

Ysaare avatar Oct 08 '22 05:10 Ysaare

Hi! I get the same error too. Installed addon as admin. Installed MS visual C++ redist. Do I have to install any CUDA kit?

My system specs: Blender version 3.0.0 Python version 3.9.7 Windows 10 x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz 3.60 GHz 8 GB RAM GeForce GTX 980 4 GB RAM

Anax7 avatar Oct 20 '22 09:10 Anax7

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

github-actions[bot] avatar Apr 21 '23 01:04 github-actions[bot]

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

github-actions[bot] avatar Apr 28 '23 01:04 github-actions[bot]