# Restarting comfyui using comfyui manager will cause it to fail to start.

**URL:** <https://forum.comfy.org/t/restarting-comfyui-using-comfyui-manager-will-cause-it-to-fail-to-start/1090>\
**Category:** Windows\
**Tags:** issue, restart\
**Created:** [January 10, 2025, 2:40am UTC](https://forum.comfy.org/t/restarting-comfyui-using-comfyui-manager-will-cause-it-to-fail-to-start/1090 "2025-01-10T02:40:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![axunrun](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@axunrun](https://forum.comfy.org/u/axunrun)\
**Post date:** [January 10, 2025, 2:40am UTC](https://forum.comfy.org/t/restarting-comfyui-using-comfyui-manager-will-cause-it-to-fail-to-start/1090/1 "2025-01-10T02:40:09Z")

</div>

Only after deleting prestartup\_script.py can comfyui be started

[2025-01-08 02:48:47.614] [error] Failed to execute startup-script: C:\Users\Administrator\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 02:48:47.615] [error] object address : 000001E95F218270  
object refcount : 3  
object type : 00007FFE2D622270  
object type name: AttributeError  
object repr : AttributeError(“type object ‘datetime.datetime’ has no attribute ‘datetime’”)  
lost sys.stderr

---

<div class="post-metadata">

**Author:** ![drltdata](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@drltdata](https://forum.comfy.org/u/drltdata)\
**Post date:** [January 11, 2025, 5:26pm UTC](https://forum.comfy.org/t/restarting-comfyui-using-comfyui-manager-will-cause-it-to-fail-to-start/1090/2 "2025-01-11T17:26:01Z")

</div>

> [@axunrun](#):
>
> [2025-01-08 02:48:47.614] [error] Failed to execute startup-script: C:\Users\Administrator\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 02:48:47.615] [error] object address : 000001E95F218270  
> object refcount : 3  
> object type : 00007FFE2D622270  
> object type name: AttributeError  
> object repr : AttributeError(“type object ‘datetime.datetime’ has no attribute ‘datetime’”)

It seems that your `datetime` module is corrupted or there is an issue with the installed dependencies.

In any case, to handle situations where this module does not function correctly, **ComfyUI-Manager V3.6.5** has been updated to provide a fallback mode.

---

<div class="post-metadata">

**Author:** ![drltdata](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@drltdata](https://forum.comfy.org/u/drltdata)\
**Post date:** [January 11, 2025, 5:26pm UTC](https://forum.comfy.org/t/restarting-comfyui-using-comfyui-manager-will-cause-it-to-fail-to-start/1090/3 "2025-01-11T17:26:39Z")

</div>


