Sublime Text出現Pylinter could not automatically determined the path to lint.py問題

最近安裝了Sublime Text 3,在安裝完Pylinter 插件,每次打開的時候出現Pylinter could not automatically determined the path to lint.py的問題

解決方法如下:

在菜單欄打開Preferences > Browse Packages,進入文件夾後,可以看到Pylinter,打開Pylinter,可以看到Pylinter.sublime-settings


爲了安全起見,可將Pylinter.sublime-settings先複製一份出來,以防修改錯誤無法恢復原來的樣子。接着將Pylinter.sublime-settings的後綴名改爲txt,

即Pylinter.txt,打開後找到"pylint_path"。將Pylinter所在的文件夾地址複製進去,比如地址是"C:/Users/Sublime-Text-3/Packages/Pylinter"。注意:這邊的是“/”而不是“\”

。將Pylinter.txt改回Pylinter.sublime-settings,放進原位置即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章