Okay I found the reason…
The thing is, the newest zed sdk is 4.0.6, which seems updated on Aug. 10. However, my zed sdk is installed before Aug. 10. So I guess it is 4.0.5 or something. When I call get_python_api.py, it will directly fetch the .whl files from zed database. Thus, when I call it these days, it will install the python API for 4.0.6, not 4.0.5, which leads to this error
Last night when I re-installed the zed sdk, I just installed it from my cache file, not zed website, cause I was not aware that the SDK had updated. When I checked zed website today, I just realized this is the real reason.
Even though I have fixed the error, I am kinda mad about it. For users, when I install zed sdk, and call get_python_api.py from my installed sdk, I will definitely not be aware of any version mismatch issue. Recently, zed updates very frequently, which is good. But I feel like there should be some mechanism to detect such a mismatch. I hope my suggestion will help improve zed sdk. And I truly appreciate that you provide a lot of potential solutions for me. Thanks!