ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

WinError5 , ComfyUI not work

Open KumaPlayWithShader opened this issue 1 year ago • 3 comments

It's a clear comfyui windows portable, with RTX4060 8GB,win10 ,not work But it works well at other computers(with RTX3060,win10)

Traceback (most recent call last): File "D:\ComfyUI_Portable\ComfyUI\main.py", line 205, in server = server.PromptServer(loop) File "D:\ComfyUI_Portable\ComfyUI\server.py", line 67, in init mimetypes.init() File "mimetypes.py", line 368, in init File "mimetypes.py", line 253, in read_windows_registry PermissionError: [WinError 5] 存取被拒。

WinError5

KumaPlayWithShader avatar Mar 18 '24 07:03 KumaPlayWithShader

This is not a bug in ComfyUI, imho. And it is unrelated to hardware, it is a software problem.

https://docs.python.org/3/library/mimetypes.html#mimetypes.init

https://bugs.python.org/issue38672

bigcat88 avatar Mar 18 '24 19:03 bigcat88

So, anyone know how to fixed this problem? I am not familiar with python stuff.....

KumaPlayWithShader avatar Mar 20 '24 03:03 KumaPlayWithShader

Moving the folder with ComfyUI from drive C to drive D worked for me. I think this is due to more restrictive permissions on the system disk.

ApexHigh avatar Apr 03 '24 23:04 ApexHigh