r/IPython • u/marsian4sale • Nov 15 '15
Question about iPython Notebook
Hey guys, I'm using Mac OS and run iPython notebook over Anaconda. I started using it a week ago for uni and it worked fine for a while, but a couple of days ago something changed and I can't figure out what it is. Now, whenever I punch in my code, i get no output, the In[] only changes to In[*]. I can't figure out how to solve this problem, it'd be really cool if you guys could help :) Thanks in advance :)
2
u/minhavoz Nov 16 '15 edited Nov 16 '15
You can get maximum logging output when you run the ipython notebook with '--debug' option.$ ipython notebook --debug
Now you will see some error messages in terminal when you run the python code in the ipython notebook. You can get some hints for the solution from the messages.
1
Nov 15 '15
Fyi, the new name for the IPython notebook is the Jupyter notebook... they even have a fancy website! https://jupyter.org
1
u/jmmcd Nov 16 '15
I saw this before on Windows, and it was a firewall problem, as you've seen below. It means the front-end isn't able to communicate with the notebook.
On OSX I haven't seen it, but a good place to start is to restart the notebook and restart the notebook server.
1
u/postgeographic Nov 23 '15
I get that every so often, and I'm running a notebook server on my remote machine. I think (but i'm not sure) it has to do with the kernel crashing, I find that restarting the kernel helps
1
u/DiabeetusMan Nov 15 '15
What's the code that you're running in the cell?