Open glennamarshall opened 5 months ago
if the error comes from fire/formatting_windows.py,
fix the code
if sys.stdout.isatty() and platform.release() == '10':
to
if hasattr(sys.stdout, "isatty") and sys.stdout.isatty() and platform.release() == '10':
its at line 38 in C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\fire\formatting_windows.py in my case.
cant find this file anywhere
if the error comes from fire/formatting_windows.py, fix the code
if sys.stdout.isatty() and platform.release() == '10':
toif hasattr(sys.stdout, "isatty") and sys.stdout.isatty() and platform.release() == '10':
its at line 38 in C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\fire\formatting_windows.py in my case.
Thanks, that's work for me!
@szriru has the correct solution. I was also experiencing a "module not found: isatty" error and editing the the refrenced file with the presented solution fixed the error. Everything installed flawlessly afterwards and it works as expected.
I installed ComfyUI manually via Conda, so my file location was slightly different, it residing in my user home directory in my .conda directory.
if the error comes from fire/formatting_windows.py, fix the code
if sys.stdout.isatty() and platform.release() == '10':
toif hasattr(sys.stdout, "isatty") and sys.stdout.isatty() and platform.release() == '10':
its at line 38 in C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\fire\formatting_windows.py in my case.
Worked as well for me! thanks
Can't get this running - followed all instructions - nodes won't show up with demo workflow - all red - says 'import failed' in comfyui manager.