標籤:
1. 問題描述:
自己在st3中安裝了pylinter外掛程式,但是沒有成功,出現如下錯誤:
"Pylinter could not automaticallydetermined the path to lint.py. Please provide one in the settings file usingthe pylint_path variable. NOTE: If you are using a Virtualenv, the problemmight be resolved by launching Sublime Text from correct Virtualenv。
2.
解決方案1:
1)到官網https://pypi.python.org/pypi/pylint#downloads下載:pylint-1.xx.tar.gz,dos下運行它,或者直接運行其中的setup.py ,
2)開ST3,然後ctrl+shift+p ,remove package,remove掉這個pylint,package。可以換一個 SublimeLinter 安裝。
解決方案2:
1) 修改目錄下的Pylinter.sublime-settings的檔案,可以在Preferences中設定pylint_path的變數。但修改了路徑,此方法自己沒成功。
參考:
Pylinter could not automatically determined the path to lint.py.與sublimeText2問題的處理:http://m.blog.csdn.net/blog/zhdnuli/39296547;
Sublime Text 3報 Pylinter could not automatically determined the path to lint.py : http://blog.chinaunix.net/uid-24641004-id-5061089.html;
Pylinter could not automatically determined the path to ‘lint.py‘ : http://blog.csdn.net/viease/article/details/45027999;
Sublime Text 報“Pylinter could not automatically determined the path to lint.py.