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,
相關文章
相關標籤/搜索