sascha

sascha

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Local Stable Diffusion Houdini integration Nov. 15, 2022, 3:26 a.m.

Short demo:

cv2 DLL load failing Nov. 7, 2022, 3:48 a.m.

OK, I found a solution that worked well. Simply set os.add_dll_directory pointing to the $env:CONDAENV/Library/bin directory. I did it in the 123 and 456 hsite scripts with an env var I set in the Conda environment's activate.d/env_vars.ps1 script. You can also use a Houdini environment script instead, but that way Houdini might have conflicts with other packages in the Conda environment like NumPy (Houdini would look at those instead of its own sitepackages).

cv2 DLL load failing Nov. 6, 2022, 12:56 p.m.

Any idea how I can get past that error when importing cv2?

File "C:\Program Files\Side Effects Software\Houdini 19.5.303\python39\lib\site-packages-forced\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ImportError: DLL load failed while importing cv2: The specified module could not be found.