天天看點

(已解決)sublime text 寫程式build後提示can't find '__main__' module in ' '

問題描述:

               在sublime text裡寫最簡單的python語句hello world:

                    print  (‘hello world‘) 

                    回車build後出錯如下圖:

(已解決)sublime text 寫程式build後提示can't find '__main__' module in ' '

  解決辦法:

                 這個問題的原因說起來很幼稚,就是因為沒有儲存檔案。是以隻需要儲存                       一下檔案,再回來build即可。

(已解決)sublime text 寫程式build後提示can't find '__main__' module in ' '

參考文獻:http://stackoverflow.com/questions/14330411/sublime-text2-python-error-message-usr-bin-python-cant-find-main-module

上一篇: Squid