Not able to start Jupyter

Hi All,

I’ve joined this course today. My first topic starts with python on Jupyter. I’m not able to continue this as Jupyter doesn’t gets launched on my laptop. Although I’m able to launch other tools Hue, Web Console and Ambari.

Jupyter takes too much time in processing and then raises below error.

504 Gateway Time-out

nginx/1.16.1

Please help me to resolve this.

Regards
Manoj

Its the same case with me. The Jupyter server is not starting

Hi Manoj_Kumar and Mohanraj,

Please restart your browser in incognito mode and try to login from there. At the same time please check your internet connection if its working properly. If the issue is still not resolved please share screenshot of your error.

Thanks.

Thanks Ankur,

I clicked on LogOut for jupyter and again attempted to start jupyter server. It worked this time. Now it working perfectly fine, although there is a difference in Python version which I started and what is actually working. I’ve attached screen shot for the same.

Hi Manoj_Kumar,

Although its certainly Python 3.x but you can use the following command in your notebook to check the python version

import platform
print(platform.python_version())

Thanks!

Thanks Ankur,

Now it displayed 3.6.8 but why !python --version gives me Python 2.7.5 ?

Regards
Manoj

Hi Manoj_Kumar,

Although it should display python 3.x when you type
!python --version
There must be some bug I think when you ran the code. Please run it again and check if that happens again.ss2

!ipython --version
IPython is basically the “recommended” Python shell, which provides extra features. There is no language called IPython.

Thanks!