Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Introduction to NumPy Meet NumPy Welcome

Can't get Jupyter notebook to launch

With Anaconda installed and my virtual environment all set up I didn't get any succes trying to run the jupyter notebook command. It produced some error message saying:

OSError: [Errno 99] Cannot assign requested address

Could this be a Linux specific problem?
After doing some research on the internet I got the suggestion to add some arguments, like:

jupyter notebook -–ip=127.0.0.1 -–port=8888 --allow-root

unfortunately it only produced another error message:

jupyter-notebook: error: unrecognized arguments: -–ip=127.0.0.1 -–port=8888

Do you have any suggestions, please help me out.

Regards, Evert-Jan

1 Answer

Somehow after trying again, a few hours later, it now does launch in my webbrowser. :) This time by using the following arguments:

jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root