Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Introduction to NumPy Meet NumPy Welcome

Evert-Jan van Dijk
Evert-Jan van Dijk
1,381 Points

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= -–port=8888 --allow-root

unfortunately it only produced another error message:

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

Do you have any suggestions, please help me out.

Regards, Evert-Jan

1 Answer

Evert-Jan van Dijk
Evert-Jan van Dijk
1,381 Points

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= --port=8888 --allow-root