問題:
jupyter notebook 使用魔法函數% matplotlib inline,報錯:UsageError: Line magic function `%` not found
解決:
1、百度上最容易找到的解決方案如下,但是anaconda promot 打開用 conda install line_profile試了好幾次,模塊都安裝不上:
需安裝line_profile模塊,具體情況可參考以下鏈接:http://www.bubuko.com/infodetail-2118201.html
2、於是谷歌翻qiang搜索了一下,原來刪除一個空格就好了。。。正確格式 %matplotlib inline