Sublime text 2 をダウンロードしましたが、Python 言語でコードを実行する際に問題が発生しました。これが私のコードです:
def main:
print "Hello"
main()
ctrl + B を実行するとエラーが発生します。
[エラー 2] 指定されたファイルが見つかりません
[cmd: [u'python', u'-u', u'C:\Users\Hari\Documents\test.py']]
[ディレクトリ: C:\Users\Hari\Documents]
[パス: C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem ;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0 \bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon] [完了]
私は Windows 8 を使用しており、C:\Python27\; を追加して環境変数を変更しようとしました。または C:\Python26\; または C:\Python33\; または C:\Python2\; または C:\Python2\; パスの先頭までですが、それでも同じエラーが発生します。誰かが私を助けることができますか?