Reputation: 51
I am attempting to follow this tutorial to connect google colab to a local runtime. However, when entering this command
jupyter notebook \ --NotebookApp.allow_origin='https://colab.research.google.com' \ --port=8888 \ --NotebookApp.port_retries=0
I receive the following error
jupyter-notebook: error: unrecognized arguments: \ \
I am using anaconda on a windows machine, jupyter notebook works fine on its own, but this command fails when following the tutorial above.
Upvotes: 0
Views: 1846
Reputation: 77347
In the tutorial, those backslashes are used just before the newlines to extend the single command to multiple lines. Either do the same thing - newline after the backslash - or, if you want to just write code on a single line, remove the backslashes.
jupyter notebook \
--NotebookApp.allow_origin='https://colab.research.google.com' \
--port=8888 \
--NotebookApp.port_retries=0
or
jupyter notebook --NotebookApp.allow_origin='https://colab.research.google.com' --port=8888 --NotebookApp.port_retries=0
Upvotes: 2