
** Sorry, this note is Japanese only, but please take a look at some code snippets. Hope it helps you a bit!
なにやら Jupyter Notebook をベースにした新しい データ サイエンティスト 環境 JupyterLab なるものが発表されたそうです。
まだまだ発展途上みたいなんだけど、上の画像みたいに色々できるようで心が小躍りしながら試してみたら・・・matplotlib の plot で失敗しました・・・
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. > See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are Working with Matplotlib in a virtual enviroment see 'Working with Matplotlib in Virtual environments' in the Matplotlib FAQ
なんで??とか思ってたら、このエラー、IPython notebook 時代からのあるあるらしいです。
わたしみたいに最近 Ipython notebook とか Jupyter とか触り始めた人が引っかからないように、解決方法をメモっておきます。
続きを読む