# HELP! My Jupyter notebook is not showing any outputs. : (

**URL:** <https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122>\
**Category:** General\
**Created:** [February 26, 2021, 5:11am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122 "2021-02-26T05:11:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewBieCoder93](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/newbiecoder93/32/3831_2.png) [@NewBieCoder93](https://discourse.jupyter.org/u/NewBieCoder93)\
**Post date:** [February 26, 2021, 5:11am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/1 "2021-02-26T05:11:31Z")

</div>

So I am pretty new to Jupyter notebook and have been using it for weeks now. I took a little break from studying python for a week or so and am now trying to get back to it. However, when I opened up my notebook to work yesterday I noticed that when I do enter + shift to get it to run the cell it will not give me an output. I am not sure why this is happening or how to fix it. I do know that I did update my google chrome which is where I open my Jupyter notebook up from. I also tried firefox today and that didn’t work at all.  
Can someone tell me what I can do to fix this?

---

<div class="post-metadata">

**Author:** ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)\
**Post date:** [February 26, 2021, 11:16am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/2 "2021-02-26T11:16:30Z")

</div>

Can you share a screenshot?

---

<div class="post-metadata">

**Author:** ![NewBieCoder93](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/newbiecoder93/32/3831_2.png) [@NewBieCoder93](https://discourse.jupyter.org/u/NewBieCoder93)\
**Post date:** [February 27, 2021, 12:09am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/3 "2021-02-27T00:09:29Z")

</div>

![ezgif.com-gif-maker](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/3/35369803e8748c16e01add2e3eecd2bd168b2c61.gif)  
Here is a gif of it.

As you can see, when i run the cell it doesn’t give me an output. It is every frustrating.

---

<div class="post-metadata">

**Author:** ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)\
**Post date:** [February 27, 2021, 12:29pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/4 "2021-02-27T12:29:17Z")

</div>

Thank you very much for sharing that. I am happy to tell you that your Jupyter Notebook just works fine. It is your expection that needs to be adapted. The Jupyter Notebook only shows what the last statement of a cell evaluates to.

1. If you define a function, this does not evaluate to anything that could be displayed. So you can’t see anything in the upper cell.

2. In the function in the upper cell, you set the result equal to some value. But you never return the result. As you don’t have ANY return statement in the function, Python replaces that with `None`. Your expressions `result = XXX` mean nothing as you don’t return that result. The chosen name `result` was freely chosen by you and has no language-specific meaning in Python. After invoking your function, Python happily deletes that variable and does nothing else.

3. As the function invocation returns `None`, for the lower cell there is nothing to display.

So I can tell you that everything is working fine. I wish you happy coding and nice experiences with learning Python! I hope you can find nice books or online classes that might help you with your journey.

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [February 27, 2021, 4:21pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/5 "2021-02-27T16:21:30Z")

</div>

Something that evaluates well that you can use in an Input cell to test in the future would be the following:

```python
2 + 2

```

The output should render the result of that.

---

<div class="post-metadata">

**Author:** ![NewBieCoder93](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/newbiecoder93/32/3831_2.png) [@NewBieCoder93](https://discourse.jupyter.org/u/NewBieCoder93)\
**Post date:** [February 27, 2021, 5:59pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/6 "2021-02-27T17:59:57Z")

</div>

Ok so I feel…silly. I am taking an Udemy course online and was following along with the instructor doing this problem. I thought I had everything right and checked three times but I guess I missed a return…color me embarrassed. 😅 It also doesn’t help that it was 1:30 in the morning when I was doing it too. Thanks so much for the help! I will do better to check over my work.

---

<div class="post-metadata">

**Author:** ![NewBieCoder93](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/newbiecoder93/32/3831_2.png) [@NewBieCoder93](https://discourse.jupyter.org/u/NewBieCoder93)\
**Post date:** [February 27, 2021, 6:00pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/7 "2021-02-27T18:00:48Z")

</div>

Thanks! I will use that as a way to check if its outputting anything.

---

<div class="post-metadata">

**Author:** ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)\
**Post date:** [February 27, 2021, 6:05pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/8 "2021-02-27T18:05:54Z")

</div>

I guess we all have been there 😉 It’s totally normal.

---

<div class="post-metadata">

**Author:** ![Spyral\_Editz](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/spyral_editz/32/10167_2.png) [@Spyral\_Editz](https://discourse.jupyter.org/u/Spyral_Editz)\
**Post date:** [June 13, 2023, 10:17am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/9 "2023-06-13T10:17:05Z")

</div>

I also have this problem but with any simple piece of code like 2 + 2 and i dont know how to fix it

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 13, 2023, 12:14pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/10 "2023-06-13T12:14:09Z")

</div>

You’d have to say more to get any help.  
What does the kernel monitor say in the top right corner? Is it busy? What type of kernel are you using? How did you install? Along this line, are you using the Anaconda Distribution on your local machine or a remote machine using JupyterLite?

To get an idea of what you should be seeing it can be helpful to have a place where things should be working…  
Did you go [here](https://github.com/binder-examples/requirements) press ‘launch binder’ button and when the session comes up run code in notebooks and compare that temporary session to what you see? That would be a full Python kernel on a remote computer server. For an alternative option that uses a different approach. You can go fo [the JupyterLite site](https://github.com/binder-examples/requirements) and press one of the orange buttons in the upper left and then run code in the notebooks there and compare to what happens on your system. That runs a Pyodide based kernel that is actually making a virtual computer-like system deep inside the inner workings of your browser. However, all the activity and computation is going on inside your local computer only.

---

<div class="post-metadata">

**Author:** ![Melissa\_Lopez\_de\_Cas](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/melissa_lopez_de_cas/32/11264_2.png) [@Melissa\_Lopez\_de\_Cas](https://discourse.jupyter.org/u/Melissa_Lopez_de_Cas)\
**Post date:** [October 10, 2023, 11:37pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/11 "2023-10-10T23:37:17Z")

</div>

Hello! sounds like I am facing an issue in Jupyter Notebooks where, after running a code cell to extract and display data (e.g., using `print(soup)` ), I am not seeing the data itself but, instead, you notice the cell number increment as if the code executed without issues. I have tried toggle scrolling and nothing happens! I don’t know what else to do. Hope someone knows how to fix this problem. I just followed the teachers instructions, I am pretty new too.

 ![Screenshot 2023-10-10 at 8.36.44 PM](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/d/dfa47581fa1155488ccb9c269d9a6654830421dd.png)

---

<div class="post-metadata">

**Author:** ![nasrin\_begum\_pathan](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nasrin\_begum\_pathan](https://discourse.jupyter.org/u/nasrin_begum_pathan)\
**Post date:** [October 11, 2023, 8:11am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/12 "2023-10-11T08:11:15Z")

</div>

It’s print(soup) not print = (soup)

---

<div class="post-metadata">

**Author:** ![Melissa\_Lopez\_de\_Cas](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/melissa_lopez_de_cas/32/11264_2.png) [@Melissa\_Lopez\_de\_Cas](https://discourse.jupyter.org/u/Melissa_Lopez_de_Cas)\
**Post date:** [October 11, 2023, 8:43pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/13 "2023-10-11T20:43:43Z")

</div>

Hey! Thanks for pointing out what a dumb mistake I made. I tried erasing the equal sign, but it’s still not working. I don’t get what’s wrong now

 ![Screenshot 2023-10-11 at 5.11.17 PM](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/a/a63aae8dfe1910b10268804db7acd2237f4803fa.png)

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [October 11, 2023, 9:15pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/14 "2023-10-11T21:15:48Z")

</div>

Did you do restart the kernel and do ‘Run All’?

I see two cells with `In [2]` next to them. That shouldn’t happen if you ran each of the cells in order top to bottom. I would expect the cell with `print(soup)` to say `In [3]` next to it.  
It’s a good habit to get into to restart the kernel and ‘Run All’ regularly. You’ll notice issues that way sooner and keep your notebooks more robust in the long run.

---

<div class="post-metadata">

**Author:** ![Melissa\_Lopez\_de\_Cas](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/melissa_lopez_de_cas/32/11264_2.png) [@Melissa\_Lopez\_de\_Cas](https://discourse.jupyter.org/u/Melissa_Lopez_de_Cas)\
**Post date:** [October 11, 2023, 9:34pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/15 "2023-10-11T21:34:28Z")

</div>

Yes, it worked! Thank you so much! Your help is greatly appreciated! 😊 😍 🤩

---

<div class="post-metadata">

**Author:** ![MUGI\_PRAVALLIKA](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mugi_pravallika/32/13521_2.png) [@MUGI\_PRAVALLIKA](https://discourse.jupyter.org/u/MUGI_PRAVALLIKA)\
**Post date:** [May 28, 2024, 10:10am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/16 "2024-05-28T10:10:58Z")

</div>

My jupyter notebook is not showing output.this is the first time I am using it.can u help me with this

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 28, 2024, 12:39pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/17 "2024-05-28T12:39:21Z")

</div>

Are you using online Jupyter? Jupyter installed on your machine? How did you install? What kind of machine?  
Have you restarted everything?

---

<div class="post-metadata">

**Author:** ![Khushi\_Garg](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/khushi_garg/32/15140_2.png) [@Khushi\_Garg](https://discourse.jupyter.org/u/Khushi_Garg)\
**Post date:** [September 28, 2024, 3:26am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/18 "2024-09-28T03:26:25Z")

</div>

![image](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/3/365548f2c8f8066b713e962269d71c046c22a143.png)

output not showing why? please help!!!

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [September 28, 2024, 2:02pm UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/19 "2024-09-28T14:02:32Z")

</div>

See [here](https://discourse.jupyter.org/t/while-using-jupyterlite-my-notebook-does-not-respond/22088/2) about JupyterLite and the kernel status indicator in the upper right.  
You have to be patient before trying code or it can get stuck. I discuss some workarounds there.  
Also see the bottom section under ‘’ [here](https://discourse.jupyter.org/t/save-and-export-tool-doesnt-work/28725/2) for alternatives to JupyterLite where you still don’t install anything and can use them in your browser.

---

<div class="post-metadata">

**Author:** ![Hamza\_Iqbal](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/hamza_iqbal/32/15379_2.png) [@Hamza\_Iqbal](https://discourse.jupyter.org/u/Hamza_Iqbal)\
**Post date:** [October 13, 2024, 11:05am UTC](https://discourse.jupyter.org/t/help-my-jupyter-notebook-is-not-showing-any-outputs/8122/20 "2024-10-13T11:05:42Z")

</div>

restarting kernel solved my problem too. thanks!
