comfy_mtb: [bug] failed to import module, help I am bad at code
Describe the bug
Failed to import module but using install.py it says that I have all dependencies
Reproduction
No response
Expected behavior
To have all dependencies installed
Platform and versions
ComfyUI portable version
Console output
[comfy_mtb] | WARNING -> Web extensions folder at F:\Stable diffusion\ComfyUI_windows_portable\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because ModuleNotFoundError: No module named 'basicsr'
Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
Failed to import module generate because ModuleNotFoundError: No module named 'qrcode'
Failed to import module image_interpolation because ModuleNotFoundError: No module named 'tensorflow'
Additional context
[mtb install] No arguments provided, doing a full install/update… [mtb install] mtb install [mtb install] Detected environment: unknown [mtb install] Checking environment… ✅ Package onnxruntime-gpu already installed (import name: ‘onnxruntime’). ✅ Package qrcode already installed (import name: ‘qrcode’). ✅ Package rembg already installed (import name: ‘rembg’). 2023-08-24 13:57:29.585409: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘cudart64_110.dll’; dlerror: cudart64_110.dll not found 2023-08-24 13:57:29.585548: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. ✅ Package tensorflow already installed (import name: ‘tensorflow’). ✅ Package facexlib already installed (import name: ‘facexlib’). ✅ Package insightface already installed (import name: ‘insightface’). ✅ Package basicsr already installed (import name: ‘basicsr’). [mtb install] All requirements are already installed. Enjoy 🚀
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 41 (17 by maintainers)
Commits related to this issue
- fix: 🐛 properly escape paths Handle spaces in paths Partially address #73 — committed to melMass/comfy_mtb by melMass 10 months ago
@melMass Thank you for your help, everything works.
Thank you for your help, everything works.
Please format your messages for a better readability/navigation 😃 you can check how I edited your previous answers, thanks
I’m going to track down what uses tensorflow besides the FILM nodes and try to find alternative implementations because Comfy might switch to Python 11 soonish where tf gpu on windows native doesn’t exist anymore.
The problem is the same as before so there is some process that “locked” (as in borrow access) the file and either the process is still running or it did not shutdown properly and the lock wasn’t cleaned…
I suggest: