OSX 10.13.6 KernelRestarter: restarting kernel

If you go to the folder view and click on new, there should be the menu button “terminal”, see

From there you can start the interpreter using “python” or “ipython”, somehow like this:

If you enter your command there now, you will get a more detailled error message.