VS Code Jupyter Extension: Remote notebook not starting












0














I'm trying to connect to a remote Jupyter notebook using the VS Code Jupyter extension.



Using CMD + Shift + P -> Jupyter: Enter the URL of local/remote Jupyter notebook brings up an input field, where I enter the address of the notebook. Afterwards an input field asking for the token is shown. When I enter the token and press Enter, nothing happens.



I tried to connect using VS Code for MacOS and Linux Mint. Using a notebook hosted on localhost:8888 and well an notebook hosted on a different computer within my home network 192.168.0.11:8888. Both ways do not work.



I can access the Jupyter notebooks via browser.



When I start VS Code per command line with a Python environment, that has jupyter installed, I am also able to run a notebook (purely) within VS Code. If I do not start VS Code within a Python environment with jupyter installed, I am not able to run any notebooks (but this seems to be an know issue).



How do I solve this issue (connect to a remote notebook)?



Is someone able to connect to a remote notebook? (If yes, how?)










share|improve this question





























    0














    I'm trying to connect to a remote Jupyter notebook using the VS Code Jupyter extension.



    Using CMD + Shift + P -> Jupyter: Enter the URL of local/remote Jupyter notebook brings up an input field, where I enter the address of the notebook. Afterwards an input field asking for the token is shown. When I enter the token and press Enter, nothing happens.



    I tried to connect using VS Code for MacOS and Linux Mint. Using a notebook hosted on localhost:8888 and well an notebook hosted on a different computer within my home network 192.168.0.11:8888. Both ways do not work.



    I can access the Jupyter notebooks via browser.



    When I start VS Code per command line with a Python environment, that has jupyter installed, I am also able to run a notebook (purely) within VS Code. If I do not start VS Code within a Python environment with jupyter installed, I am not able to run any notebooks (but this seems to be an know issue).



    How do I solve this issue (connect to a remote notebook)?



    Is someone able to connect to a remote notebook? (If yes, how?)










    share|improve this question



























      0












      0








      0


      1





      I'm trying to connect to a remote Jupyter notebook using the VS Code Jupyter extension.



      Using CMD + Shift + P -> Jupyter: Enter the URL of local/remote Jupyter notebook brings up an input field, where I enter the address of the notebook. Afterwards an input field asking for the token is shown. When I enter the token and press Enter, nothing happens.



      I tried to connect using VS Code for MacOS and Linux Mint. Using a notebook hosted on localhost:8888 and well an notebook hosted on a different computer within my home network 192.168.0.11:8888. Both ways do not work.



      I can access the Jupyter notebooks via browser.



      When I start VS Code per command line with a Python environment, that has jupyter installed, I am also able to run a notebook (purely) within VS Code. If I do not start VS Code within a Python environment with jupyter installed, I am not able to run any notebooks (but this seems to be an know issue).



      How do I solve this issue (connect to a remote notebook)?



      Is someone able to connect to a remote notebook? (If yes, how?)










      share|improve this question















      I'm trying to connect to a remote Jupyter notebook using the VS Code Jupyter extension.



      Using CMD + Shift + P -> Jupyter: Enter the URL of local/remote Jupyter notebook brings up an input field, where I enter the address of the notebook. Afterwards an input field asking for the token is shown. When I enter the token and press Enter, nothing happens.



      I tried to connect using VS Code for MacOS and Linux Mint. Using a notebook hosted on localhost:8888 and well an notebook hosted on a different computer within my home network 192.168.0.11:8888. Both ways do not work.



      I can access the Jupyter notebooks via browser.



      When I start VS Code per command line with a Python environment, that has jupyter installed, I am also able to run a notebook (purely) within VS Code. If I do not start VS Code within a Python environment with jupyter installed, I am not able to run any notebooks (but this seems to be an know issue).



      How do I solve this issue (connect to a remote notebook)?



      Is someone able to connect to a remote notebook? (If yes, how?)







      python visual-studio-code jupyter-notebook jupyter






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '18 at 19:12









      Gama11

      11k21946




      11k21946










      asked Nov 23 '18 at 12:17









      fischorfischor

      11




      11
























          1 Answer
          1






          active

          oldest

          votes


















          -1














          The problem I encountered is as follows



          command 'jupyter.selectExistingNotebook' not found


          I installed the Jupyter extension on vscode.
          Follow the instructions:
          Remote Jupyter kernel on Server / Docker



          Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:



          Start a remote Jupyter Notebook or headless KernelGateway



          Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html



          Then in VS Code: ctrl+shift+p



          Jupyter: Enter the url of local/remote Jupyter Notebook



          I only installed docker and run the container.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53446584%2fvs-code-jupyter-extension-remote-notebook-not-starting%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            -1














            The problem I encountered is as follows



            command 'jupyter.selectExistingNotebook' not found


            I installed the Jupyter extension on vscode.
            Follow the instructions:
            Remote Jupyter kernel on Server / Docker



            Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:



            Start a remote Jupyter Notebook or headless KernelGateway



            Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html



            Then in VS Code: ctrl+shift+p



            Jupyter: Enter the url of local/remote Jupyter Notebook



            I only installed docker and run the container.






            share|improve this answer


























              -1














              The problem I encountered is as follows



              command 'jupyter.selectExistingNotebook' not found


              I installed the Jupyter extension on vscode.
              Follow the instructions:
              Remote Jupyter kernel on Server / Docker



              Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:



              Start a remote Jupyter Notebook or headless KernelGateway



              Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html



              Then in VS Code: ctrl+shift+p



              Jupyter: Enter the url of local/remote Jupyter Notebook



              I only installed docker and run the container.






              share|improve this answer
























                -1












                -1








                -1






                The problem I encountered is as follows



                command 'jupyter.selectExistingNotebook' not found


                I installed the Jupyter extension on vscode.
                Follow the instructions:
                Remote Jupyter kernel on Server / Docker



                Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:



                Start a remote Jupyter Notebook or headless KernelGateway



                Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html



                Then in VS Code: ctrl+shift+p



                Jupyter: Enter the url of local/remote Jupyter Notebook



                I only installed docker and run the container.






                share|improve this answer












                The problem I encountered is as follows



                command 'jupyter.selectExistingNotebook' not found


                I installed the Jupyter extension on vscode.
                Follow the instructions:
                Remote Jupyter kernel on Server / Docker



                Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:



                Start a remote Jupyter Notebook or headless KernelGateway



                Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html



                Then in VS Code: ctrl+shift+p



                Jupyter: Enter the url of local/remote Jupyter Notebook



                I only installed docker and run the container.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 26 '18 at 15:28









                Jun SunJun Sun

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2fstackoverflow.com%2fquestions%2f53446584%2fvs-code-jupyter-extension-remote-notebook-not-starting%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

                    What visual should I use to simply compare current year value vs last year in Power BI desktop

                    How to ignore python UserWarning in pytest?

                    Alexandru Averescu