New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Notebook is not showing the output of any code executed on the cell #11027
Comments
|
no security software. |
Any ideas what changed? Did you install any extensions or update anything? It's still worth trying with another browser. |
Let me try with firefox |
it launches with chrome default. |
Yes. For testing temporarily, right click the Jupyter logo in Chrome and copy the link, then paste it into Firefox. If you want to override the default, configure |
Same issue in firefox. |
How are you trying to execute the cells? |
Using Shift + Enter.
I installed anaconda on another system. Now it is working.
…On Fri, Mar 2, 2018 at 11:51 PM, Thomas Kluyver ***@***.***> wrote:
How are you trying to execute the cells?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11027 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjPaqbV3K6AxlRHni7vEaB9h4iThvevrks5taY2qgaJpZM4SYFo9>
.
|
Try restarting the kernel in kernel option |
Restarting the kernel solves it temporarily. What is the cause and the permanent fix? |
it can be caused by many reasons like:
|
Like I said, it was working as recently as two days ago. Code is just a simple loop. There is no antivirus installed. I have not updated any package during this time. |
This problem is also happening for me in a simple for loop. Using chrome browser. |
One reproducible way to force Jupyter to stop showing new output (and make the kernel hang) is to run "cat" in a cell with no arguments (on Google Chrome / Ubuntu 16.04). If there is a way to solve this problem (send a Ctrl-D to the kernel?), it might also solve the other looping problems. |
yes it is also happening with me .. i thought it as antivirus problem but i think its not, because i had reinstalled it by disabling my antivirus .. but it is not working still ... don't know what to do ... i had also tried another browser option like Mozilla chrome Microsoft edge also with internet explorer .. but it still not working.... somebody plzz help... |
Hi, |
hi anyone has the answer? i have the same problem too |
I have the same problem :( |
Any answers here? |
In my case, the below solution worked. (Downgrading tornado to 4.xx) |
@fgtom downgrading tornado didn't work for me :/ I occasionally run into this problem since a while... I already tried disabling Windows Defender and the Firewall and different browsers without success. I installed the Jupyter Notebook using conda. I also tried reinstalling it globally and in conda environments without success either. :( This is really annoying... |
same thing happened to me ...but when I disabled my adaware antivirus ..it worked...!!!! |
I am having problem of not compiling. It shows In[*] whenever i compile. I have tried all solutions above, disabling my defender, changing browser options, reinstalling python package , installing jupyter through pip install and anaconda but still problem stays. What can be the solution?? |
Disabling Adaware antivirus solved this problem for me. |
Why is there no one assigned to this? This approaches being a dealbreaker for corporate people running jupyter behind mandated antivirus. |
Perhaps said corporate people should contribute to understanding and fixing the problem? |
@takluyver I already spent several hours trying to find the cause, both at work and at home, but found that I lack experience with the code base / the architecture / how components are supposed to communicate. I'm sure if someone more experienced with the project could provide some hints on where to look / what to try everyone would be more than willing to work on a solution. |
Simply uninstall your adaware antivirus. It fixes the issue! |
First of all, let's check the state of any cell is the "Code" not in "Markdown" |
This happened to me and I realized the issue was caused by a duplicate nbextensions directory this leads to duplicated .yaml files for the scratchpad extension. I fixed by simply typing jupyter --paths into the console. Looking where my jupyter nbextensions were stored. I had nbextensions stored in both myname/anaconda3/etc/jupyter and in myname/.local/share/jupyter I deleted the nbextension from myname/.local/share/jupyter and I kept the one in anaconda3 folder. Problem solved! |
As @Hazarmavi mentioned. fixed it by upgrading kernel using the following command: python -m pip install --upgrade ipykernel |
I have the same problem. I tried downgrading tornado and upgrading ipykernel and confirmed that I do not have duplicated nbextensions, but my problem has not been solved yet. (This is pretty annoying and I cannot work on anything.) In my environment, and Does any body have any other suggestions? |
First time facing this issue, asking wtf of course :-), On Gentoo don't have this issue, but was using now WLS Ubuntu via virtualenv in W10 host. Well, I just did CTRL+C in terminal, which triggered Jupyter to be completely restarted (it won't shutdown) and now outputs magically appeared automatically. |
|
I had the same issue. I just ran the prompt as administrator as I found a permission error displayed in Jupyter Notebook and disabled my firewall and it works fine. |
try reinstalling python as well e.g in my case python 3.5.2 worked fine as I was having problems with python 3.8 and so after reinstalling jupyter notebook things seem to run perfectly. |
I had the exact same issue. Downgrading to Tornado 5.1.1 fixed the issues |
I found the missing output redirected to Jupyter Notebook console, after running import os, sys |
I have found that I encounter this issue every time an unhandled exception bubbles up to the notebook. In those cases I have to restart the kernel every time—which is very frustrating. |
I am having the same issue. It started happening yesterday after installing I tried downgrading to tornado 5.1.1 but it does not fix the issue. I am on Ubuntu 18.04, so no antivirus. It is not because of the running time of the cell either, it happens with basic '2+2' cells. Any clue? |
I am having the same issue as @woodrujm , where my Python output works fine, but my R output doesn't work properly. The graphs for R work, but the regular output prints to my console rather than the cell output area. I am trying everything here and will report back if I find anything that doesn't involve settling for reading off my console. |
I had the same issue. Solution was found here: |
|
Hi guys! I don't have a fix for this issue, since I stopped using my local system! I have a short-term (or maybe long-term) fix for this issue for those who just want to start coding instead of trouble shooting Jupyter and Python packages: use something like Google Colab! I had an issue with Jupyter, then I switched to Anaconda and used JupyterLab, but both had the same issue of having problems with the server connections! I had removed and installed Jupyter, Anaconda and Python several times and changed settings too. But to me, it was so much hassle! especially, since I was using Windows and once something goes wrong in windows, it continues to go wrong! :)) Also, I don't get it! Almost whenever I started using a new technique, application or technology, I had to dedicate the first week (or two) of my work to trouble shooting for the thing to just start working on my system! :) So, I switched to online alternatives such as the one CoCalc provides. But for now, I am using Google Colab and it works just fine! |
i would like to add one observation: |
had the same issue , fixed it by closing all tabs, reopening the files in JupyterLab v1.2.6, rerunning the cells one after the other. - watiting for the first one to finish before running the next cell.....I am now getting all the output just fine. |
Had the same issue turns out i was downloading all dependencies in my local not inside the tensorflow VM (tensorflow_cpu / tensorflow_gpu). So make sure you are inside the VM |
Closing as this issue is not in IPython itself and if still problematic and relevant should be opened on the right repository if this is an actual bug or code proposal. For general help use discourse. This will allow to keep the number of opened issue on the IPython repo under control and allow you to get faster response. |
Hi I could not solve this either but I am a beginner so I am not particular about IDEs at the moment. I just want to learn the important computing concepts quick and not waste my time troubleshooting this problem. Hope this helps! |
Downgrade tornado, this worked for me. pip install tornado==4.5.3 |
Hello,
I am new to python. When I use Jupyter Notebook the code inside the cells won't execute and I get these empty brackets ([ ]).
The text was updated successfully, but these errors were encountered: