weilin9999 / WeiLin-ComfyUI-prompt-all-in-one

WeiLin-ComfyUI-Prompt-all-in-one 像WebUI一样写提示词 Write prompt words like WebUI
MIT License
84 stars 3 forks source link

AttributeError: module 'ctypes' has no attribute 'windll' #2

Closed boeto closed 1 month ago

boeto commented 2 months ago

运行环境为ubuntu,这个ctypes模块应该是windows下才有的。可以先判断平台是否linux,设置默认为中文 The runtime environment is Ubuntu; the ctypes module is typically available on Windows. You can first check if the platform is Linux and set the default language to Chinese.

https://stackoverflow.com/questions/63533869/module-ctypes-has-no-attribute-windll

weilin9999 commented 2 months ago

好的,目前还没对Linux环境下测试,下一次版本中会修改,目前插件还在重做。

weilin9999 commented 1 month ago

新版本已修复