[2025-01-08 12:17:20.424] [error] Failed to execute startup-script: C:\Users\XXX\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / type object ‘datetime.datetime’ has no attribute ‘datetime’
[2025-01-08 12:17:20.425] [error] object address : 0000020057111770
object refcount : 3
object type : 00007FFBDF9E2270
object type name: AttributeError
object repr : AttributeError(“type object ‘datetime.datetime’ has no attribute ‘datetime’”)
lost sys.stderr
Same issue on the Mac install running 0.4.5 on M2 Apple Silicon:
[2025-01-14 21:34:54.564] [error] Failed to execute startup-script: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager/prestartup_script.py / type object ‘datetime.datetime’ has no attribute ‘datetime’
[2025-01-14 21:34:54.564] [error] object address : 0x106cb8430
object refcount : 3
object type : 0x104da7198
object type name: AttributeError
object repr : AttributeError(“type object ‘datetime.datetime’ has no attribute ‘datetime’”)
lost sys.stderr
The strange thing is I successfully installed and ran earlier today, but after initiating a re-start via the manager, started getting this error.
No. I think there was a conflict between my original ComfyUI install and the one handled by the desktop app. I deleted the Comfy-UI-Manager from my original install, deleted the fresh install with the desktop app, then re-ran the install without migrating my prior data and problem was resolved. I then manually copied models, VAEs, etc into the new install and was able to see expected behavior when using the Manager to install additional custom nodes.
I had same problem, I deleted ComfyUI-Manager, and also comfyui-animatediff and ComfyUI-AnimateDiff-Evolved from Custom nodes, but I want them back, any idea for solution without deleting those nodes? I am really new with ComfyUI, started with it just yesterday.