Sublime text2の環境構築2
sublime textでmatplotlibやopencvを実行する。
sublime textを立ちあげ、 Preferences⇒packages folder⇒ python⇒Python.sublime-build を開く
{ "cmd": ["python", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "env":{"PYTHONPATH":"C:/Python27/Lib/site-packages"}, "selector": "source.python", "shell":true }
"shell":true の行を追記した。
参考
http://stackoverflow.com/questions/10831882/matplotlib-plots-not-displaying-in-sublimetext