Sublime Text 報“Pylinter could not automatically determined the path to lint.py.

來源:互聯網
上載者:User

標籤:

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.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.