4

I am totally new to jupyter notebook and I was trying to run a simple code and its not working.enter image description here

I typed print (1) and hit ctrl + enter, and then that asterisk mark appeared and thats pretty much it. there is a blinking "connected" in the console as well.

Command window looks like this: enter image description here

Any tip regarding this would be highly appreciated. Thank you

1

3 Answers 3

5

yes, as Teemo pointed out all I had to do was use this,

C:\Python27\Scripts>jupyter notebook --port=8889

instead of,

C:\Python27\Scripts>jupyter notebook.

port 8889 , worked like a charm :)

Sign up to request clarification or add additional context in comments.

Comments

3

using Jupyter on a VM, this was also for me the solution. Additionally, you can create a config file with:

jupyter notebook --generate-config

and search In your jupyter_notebook_config.py file for c.NotebookApp.port = 8888 (and change the port to 8889)

so you don't have to manually add the port every time jupyter is called.

1 Comment

Please use code formatting to format code snippets and commands.
2

I had the same issue and changing the host port didn't solve anything. I finally had to uninstalled the jupyter network package. I installed it has well through "pip install", I'd suggest to uninstall it as well using and only reinstalling it with the following through conda:

conda uninstall jupyter notebook 
pip uninstall jupyter 
pip3 uninstall jupyter
conda install jupyter notebook

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.