Jupyter Notebook setup error












0















I keep on getting the following error when trying to connect to Jupyter Notebook on AWS. Please help.



File "/home/ubuntu/anaconda3/lib/python3.5/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:


Traceback (most recent call last):

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote

addr = ipaddress.ip_address(self.ip)

File "/home/ubuntu/anaconda3/lib/python3.5/ipaddress.py", line 54, in ip_address

address)

ValueError: '' does not appear to be an IPv4 or IPv6 address


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File "/home/ubuntu/anaconda3/bin/jupyter-notebook", line 11, in <module>

sys.exit(main())

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 266, in launch_instance

return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance

app.initialize(argv)

File "</home/ubuntu/anaconda3/lib/python3.5/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error

return method(app, *args, **kwargs)

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1630, in initialize

self.init_webapp()

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1378, in init_webapp

self.jinja_environment_options,

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 159, in __init__

default_url, settings_overrides, jinja_env_options)

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 252, in init_settings

allow_remote_access=jupyter_app.allow_remote_access,

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 556, in __get__

return self.get(obj, cls)

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 535, in get

value = self._validate(obj, dynamic_default())

File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 867, in _default_allow_remote

for info in socket.getaddrinfo(self.ip, self.port, 0, socket.SOCK_STREAM):

File "/home/ubuntu/anaconda3/lib/python3.5/socket.py", line 732, in getaddrinfo

for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

socket.gaierror: [Errno -2] Name or service not known









share







New contributor




Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I keep on getting the following error when trying to connect to Jupyter Notebook on AWS. Please help.



    File "/home/ubuntu/anaconda3/lib/python3.5/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:


    Traceback (most recent call last):

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote

    addr = ipaddress.ip_address(self.ip)

    File "/home/ubuntu/anaconda3/lib/python3.5/ipaddress.py", line 54, in ip_address

    address)

    ValueError: '' does not appear to be an IPv4 or IPv6 address


    During handling of the above exception, another exception occurred:


    Traceback (most recent call last):

    File "/home/ubuntu/anaconda3/bin/jupyter-notebook", line 11, in <module>

    sys.exit(main())

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 266, in launch_instance

    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance

    app.initialize(argv)

    File "</home/ubuntu/anaconda3/lib/python3.5/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error

    return method(app, *args, **kwargs)

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1630, in initialize

    self.init_webapp()

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1378, in init_webapp

    self.jinja_environment_options,

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 159, in __init__

    default_url, settings_overrides, jinja_env_options)

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 252, in init_settings

    allow_remote_access=jupyter_app.allow_remote_access,

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 556, in __get__

    return self.get(obj, cls)

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 535, in get

    value = self._validate(obj, dynamic_default())

    File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 867, in _default_allow_remote

    for info in socket.getaddrinfo(self.ip, self.port, 0, socket.SOCK_STREAM):

    File "/home/ubuntu/anaconda3/lib/python3.5/socket.py", line 732, in getaddrinfo

    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

    socket.gaierror: [Errno -2] Name or service not known









    share







    New contributor




    Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I keep on getting the following error when trying to connect to Jupyter Notebook on AWS. Please help.



      File "/home/ubuntu/anaconda3/lib/python3.5/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:


      Traceback (most recent call last):

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote

      addr = ipaddress.ip_address(self.ip)

      File "/home/ubuntu/anaconda3/lib/python3.5/ipaddress.py", line 54, in ip_address

      address)

      ValueError: '' does not appear to be an IPv4 or IPv6 address


      During handling of the above exception, another exception occurred:


      Traceback (most recent call last):

      File "/home/ubuntu/anaconda3/bin/jupyter-notebook", line 11, in <module>

      sys.exit(main())

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 266, in launch_instance

      return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance

      app.initialize(argv)

      File "</home/ubuntu/anaconda3/lib/python3.5/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error

      return method(app, *args, **kwargs)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1630, in initialize

      self.init_webapp()

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1378, in init_webapp

      self.jinja_environment_options,

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 159, in __init__

      default_url, settings_overrides, jinja_env_options)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 252, in init_settings

      allow_remote_access=jupyter_app.allow_remote_access,

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 556, in __get__

      return self.get(obj, cls)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 535, in get

      value = self._validate(obj, dynamic_default())

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 867, in _default_allow_remote

      for info in socket.getaddrinfo(self.ip, self.port, 0, socket.SOCK_STREAM):

      File "/home/ubuntu/anaconda3/lib/python3.5/socket.py", line 732, in getaddrinfo

      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

      socket.gaierror: [Errno -2] Name or service not known









      share







      New contributor




      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I keep on getting the following error when trying to connect to Jupyter Notebook on AWS. Please help.



      File "/home/ubuntu/anaconda3/lib/python3.5/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:


      Traceback (most recent call last):

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 864, in _default_allow_remote

      addr = ipaddress.ip_address(self.ip)

      File "/home/ubuntu/anaconda3/lib/python3.5/ipaddress.py", line 54, in ip_address

      address)

      ValueError: '' does not appear to be an IPv4 or IPv6 address


      During handling of the above exception, another exception occurred:


      Traceback (most recent call last):

      File "/home/ubuntu/anaconda3/bin/jupyter-notebook", line 11, in <module>

      sys.exit(main())

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 266, in launch_instance

      return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance

      app.initialize(argv)

      File "</home/ubuntu/anaconda3/lib/python3.5/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error

      return method(app, *args, **kwargs)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1630, in initialize

      self.init_webapp()

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1378, in init_webapp

      self.jinja_environment_options,

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 159, in __init__

      default_url, settings_overrides, jinja_env_options)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 252, in init_settings

      allow_remote_access=jupyter_app.allow_remote_access,

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 556, in __get__

      return self.get(obj, cls)

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/traitlets/traitlets.py", line 535, in get

      value = self._validate(obj, dynamic_default())

      File "/home/ubuntu/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 867, in _default_allow_remote

      for info in socket.getaddrinfo(self.ip, self.port, 0, socket.SOCK_STREAM):

      File "/home/ubuntu/anaconda3/lib/python3.5/socket.py", line 732, in getaddrinfo

      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

      socket.gaierror: [Errno -2] Name or service not known







      python jupyter





      share







      New contributor




      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 min ago









      Jonathan KrugerJonathan Kruger

      1




      1




      New contributor




      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jonathan Kruger is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Jonathan Kruger is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131078%2fjupyter-notebook-setup-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Jonathan Kruger is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Jonathan Kruger is a new contributor. Be nice, and check out our Code of Conduct.













          Jonathan Kruger is a new contributor. Be nice, and check out our Code of Conduct.












          Jonathan Kruger is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131078%2fjupyter-notebook-setup-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          GameSpot

          日野市

          Tu-95轟炸機