ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

ImportError: cannot import name 'runtime_version' from 'google.protobuf'

Open flyice8 opened this issue 1 year ago • 4 comments

Your question

Ubuntu22.04, run docker issue is below, how to fixe this thanks!

Image

Logs


Other

No response

flyice8 avatar Jan 18 '25 16:01 flyice8

If you have installed numpy 2.0+ then downgrade to numpy==1.26.4

ltdrdata avatar Jan 19 '25 06:01 ltdrdata

Same issue but I have 1.26.4

from google.protobuf import runtime_version as runtime_version ImportError: cannot import name 'runtime_version' from 'google.protobuf' (C:\Users\xxxx\Deep\Comfy\ComfyUI\venv\Lib\site-packages\google\protobuf_init.py)

bbecausereasonss avatar Sep 13 '25 13:09 bbecausereasonss

Same issue on windows,I have nummy 1.26.4 & protobuf 4.25.8

gtbloody avatar Oct 29 '25 11:10 gtbloody

Same on linux with numpy 1.26.4 & protobuf 4.25.8, comfyui 0.5.1 using StabilityMatrix

shsmad avatar Dec 21 '25 15:12 shsmad