解决方法 这是由于jedi这个库版本太高导致的不兼容,所以降一下版本即可: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ jedi==0.17