I'm trying to run the following few lines with ipython (3.5 version):
import sys
from init_mooc_nb import *
init_notebook()
I would like some help to figure out what is the error (see below).
Thank you in advance.
I'm trying to run the following few lines with ipython (3.5 version):
import sys
from init_mooc_nb import *
init_notebook()
I would like some help to figure out what is the error (see below).
Thank you in advance.
It is possible that this is part of an ipython notebook and needs to be run in ipython notebook... (use e.g. jupyter notebook
or ipython -notebook
from command line to start it...)
If you're using Intellij Idea with the Python plugin:
Put your notebooks inside a python package and then right click the package and select Mark directory as -> Load Path Root
There's an open bug on the Intellij idea team here