使用$ ipython notebook test.ipynb 時出現這樣的錯誤
使用
$ ipython --version
目前還在 2
ipython notebook 3 以後有個 breaking update
$ pip install ipython -U
$ ipython --version
4.0.0
這樣就可以開啟了
升級完你的 pip 與 setuptools 應該可以解決大部分的問題sudo pip install --upgrade setuptools pip
re.sub('(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)','CENSORED_IP',data)
json_key['client_email']. Otherwise you’ll get a SpreadsheetNotFound exception when trying to open it.