DiscordGenerator icon indicating copy to clipboard operation
DiscordGenerator copied to clipboard

ImportError: DLL load failed while importing _cascade

Open alex1cup opened this issue 3 years ago • 3 comments

Got module not found error after installing requirements with success.

File "C:\Users\WDAGUtilityAccount\Desktop\DiscordGenerator-main\main.py", line 22, in from hcaptcha_challenger import (DIR_CHALLENGE, DIR_MODEL, PATH_OBJECTS_YAML, File "C:\Users\WDAGUtilityAccount\Desktop\DiscordGenerator-main\hcaptcha_challenger_init_.py", line 6, in from .core import ArmorCaptcha File "C:\Users\WDAGUtilityAccount\Desktop\DiscordGenerator-main\hcaptcha_challenger\core.py", line 4, in from .solutions import resnet, sk_recognition, yolo File "C:\Users\WDAGUtilityAccount\Desktop\DiscordGenerator-main\hcaptcha_challenger\solutions\sk_recognition.py", line 11, in from skimage import feature File "C:\Users\WDAGUtilityAccount\AppData\Local\Programs\Python\Python310\lib\site-packages\skimage_shared\lazy.py", line 62, in getattr return importlib.import_module(f'{package_name}.{name}') File "C:\Users\WDAGUtilityAccount\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module return _bootstrap.gcd_import(name[level:], package, level) File "C:\Users\WDAGUtilityAccount\AppData\Local\Programs\Python\Python310\lib\site-packages\skimage\feature_init.py", line 4, in from ._cascade import Cascade ImportError: DLL load failed while importing _cascade: The specified module could not be found.

alex1cup avatar Aug 27 '22 13:08 alex1cup

I saw a few people with this issue, all of them solved it eventually. If anyone reads this who solved the error please comment your solution.

Vinyzu avatar Aug 30 '22 11:08 Vinyzu

Appears to be a problem with your microsoft build tools? Also please try installing an older version of the library. Let me know if either work, I can't test it myself unfortunately.

ThePrivatePanda avatar Sep 01 '22 12:09 ThePrivatePanda

https://aka.ms/vs/17/release/vc_redist.x64.exe download visual studios from here solves issue everytime

BumbleBee-2349 avatar Oct 03 '22 18:10 BumbleBee-2349