-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
I'm running code server on ec2 instance ad using port forwarding to open it on my local browser. I am using anaconda environment where jupyter is already installed.
Python extension is installed. However when i try to run code as a cell using the inbuilt jupyter functionality the python interactive shell fails to start with the following error.
Jupyter notebook failed to launch. Error: Jupyter server crashed. Unable to connect. Error code from jupyter: 0 [I 16:45:15.493 NotebookApp] The port 8895 is already in use, trying another port. [I 16:45:15.496 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.1 [I 16:45:15.497 NotebookApp] [nb_conda] enabled [C 16:45:15.497 NotebookApp] Running as root is not recommended. Use --allow-root to bypass. Failed to run jupyter as observable with args notebook --no-browser --notebook-dir=/tmp/27c1cbe4-3e6a-4258-be97-a8c260a4e4d4 --config=/tmp/27c1cbe4-3e6a-4258-be97-a8c260a4e4d4/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
I can run the run jupyter notebook from the integrated terminal and it initializes without an issue.
Is there a way to modify jupyter specific configuration in python extension? It seems like jupyter doesnt have appropriate permission to start.