I can run jupyter notebook without activating environment. Also I can run in under environment py35
I made. But when I try to run it under py36
, it fails with
Traceback (most recent call last):
File "/opt/anaconda3/envs/py36/lib/python3.6/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'allow_remote_access'
During handling of the above exception, another exception occurred:
This can't be solved with editing file in ~/.jupyter, because it works in other envs.
Just pass manually option --ip with correct IP instead of *:
jupyter notebook --ip="0.0.0.0"
or change in your config file
Details: https://github.com/jupyter/docker-stacks/issues/718
I remember I fixed this point by adding the following change in the config file of jupyter.
Here are the steps :
vi ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.ip = '0.0.0.0'
jupyter-notebook --no-browser --port=8899
(8899 is the port number, you have to change it ;) )You can do this whether you worked on the cloud or on your local machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With