Vim报错`Sorry, this command is disabled, the Python's site module could not be loaded.`

一般是在系统中改动了python的环境或什么,导致vim的一些插件无法使用python。 测试:在vim里面输入:py print('hello')。如果返回这个错误,说明vim没有找到python。 然后在vim里输入:echo has('python')和:echo has('python3'),哪个显示0哪个也是没有的。 通过这个命令,vim --version | grep python,
相关文章
相关标签/搜索