Problem importing CNTK in Azure jupyter notebook












0












$begingroup$


Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `



pip install cntk 


`the problem is solved. But I have an error shawn in the attached image.



enter image description here










share|improve this question











$endgroup$




bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0












    $begingroup$


    Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `



    pip install cntk 


    `the problem is solved. But I have an error shawn in the attached image.



    enter image description here










    share|improve this question











    $endgroup$




    bumped to the homepage by Community 4 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0





      $begingroup$


      Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `



      pip install cntk 


      `the problem is solved. But I have an error shawn in the attached image.



      enter image description here










      share|improve this question











      $endgroup$




      Vineeth Sai indicated https://stackoverflow.com/questions/53316927/no-module-named-cntk]2 that with the following code `



      pip install cntk 


      `the problem is solved. But I have an error shawn in the attached image.



      enter image description here







      python jupyter azure-ml






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 24 '18 at 17:06









      Random Nerd

      708




      708










      asked Dec 23 '18 at 13:40









      Hermes MoralesHermes Morales

      194




      194





      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.






          share|improve this answer









          $endgroup$













          • $begingroup$
            It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
            $endgroup$
            – Hermes Morales
            Dec 24 '18 at 18:23










          • $begingroup$
            In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
            $endgroup$
            – Random Nerd
            Dec 25 '18 at 8:47








          • 1




            $begingroup$
            When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 21:56












          • $begingroup$
            I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 22:22










          • $begingroup$
            If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
            $endgroup$
            – Random Nerd
            Dec 26 '18 at 13:53



















          0












          $begingroup$

          Try with:



          sudo pip install cntk


          or:



          sudo su [type admin password]
          pip install cntk





          share|improve this answer









          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "557"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2fdatascience.stackexchange.com%2fquestions%2f43068%2fproblem-importing-cntk-in-azure-jupyter-notebook%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.






            share|improve this answer









            $endgroup$













            • $begingroup$
              It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
              $endgroup$
              – Hermes Morales
              Dec 24 '18 at 18:23










            • $begingroup$
              In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
              $endgroup$
              – Random Nerd
              Dec 25 '18 at 8:47








            • 1




              $begingroup$
              When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 21:56












            • $begingroup$
              I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 22:22










            • $begingroup$
              If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
              $endgroup$
              – Random Nerd
              Dec 26 '18 at 13:53
















            0












            $begingroup$

            Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.






            share|improve this answer









            $endgroup$













            • $begingroup$
              It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
              $endgroup$
              – Hermes Morales
              Dec 24 '18 at 18:23










            • $begingroup$
              In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
              $endgroup$
              – Random Nerd
              Dec 25 '18 at 8:47








            • 1




              $begingroup$
              When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 21:56












            • $begingroup$
              I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 22:22










            • $begingroup$
              If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
              $endgroup$
              – Random Nerd
              Dec 26 '18 at 13:53














            0












            0








            0





            $begingroup$

            Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.






            share|improve this answer









            $endgroup$



            Keeping your latest edit in mind, the error in your screenshot is actually just a recommendation to upgrade pip. As suggested, please run pip install --upgrade pip, and it shall upgrade pip package in your environment and shall not re-appear unless a new version of pip get released later on.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 23 '18 at 14:52









            Random NerdRandom Nerd

            708




            708












            • $begingroup$
              It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
              $endgroup$
              – Hermes Morales
              Dec 24 '18 at 18:23










            • $begingroup$
              In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
              $endgroup$
              – Random Nerd
              Dec 25 '18 at 8:47








            • 1




              $begingroup$
              When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 21:56












            • $begingroup$
              I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 22:22










            • $begingroup$
              If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
              $endgroup$
              – Random Nerd
              Dec 26 '18 at 13:53


















            • $begingroup$
              It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
              $endgroup$
              – Hermes Morales
              Dec 24 '18 at 18:23










            • $begingroup$
              In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
              $endgroup$
              – Random Nerd
              Dec 25 '18 at 8:47








            • 1




              $begingroup$
              When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 21:56












            • $begingroup$
              I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
              $endgroup$
              – Hermes Morales
              Dec 25 '18 at 22:22










            • $begingroup$
              If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
              $endgroup$
              – Random Nerd
              Dec 26 '18 at 13:53
















            $begingroup$
            It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
            $endgroup$
            – Hermes Morales
            Dec 24 '18 at 18:23




            $begingroup$
            It did not work, and so I asked the corresponding question here: datascience.stackexchange.com/questions/43110/…
            $endgroup$
            – Hermes Morales
            Dec 24 '18 at 18:23












            $begingroup$
            In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
            $endgroup$
            – Random Nerd
            Dec 25 '18 at 8:47






            $begingroup$
            In your screenshot, I see that you've added an additional ! before pip install --upgrade pip, which isn't required. If it still doesn't work, try sudo pip install --upgrade pip as well & share error screenshot if it fails. Please note that ideally pip upgrade won't impact CNTK installation but nevertheless it is a better idea to keep packages upgraded.
            $endgroup$
            – Random Nerd
            Dec 25 '18 at 8:47






            1




            1




            $begingroup$
            When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 21:56






            $begingroup$
            When I try with the sudo pip install --upgrade pip it asked me for a password nbuser. I insert my azure notebook password but it does not function
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 21:56














            $begingroup$
            I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 22:22




            $begingroup$
            I have already tried without the !. I understand that I should be able to import CNTK even without upgrading pip. What I now discover is that is a problem with a particular notebook, because from other notebooks I can import CNTK without any problem.
            $endgroup$
            – Hermes Morales
            Dec 25 '18 at 22:22












            $begingroup$
            If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
            $endgroup$
            – Random Nerd
            Dec 26 '18 at 13:53




            $begingroup$
            If you're able to import CNTK in other notebooks, then it seems the notebook in question is being launched from some other directory where CNTK isn't installed. You may like to run pwd in Input cell of both the notebooks to be sure that those are getting launched from same directory (where CNTK is installed). Optionally, you may also like to refresh kernel for the notebook in question.
            $endgroup$
            – Random Nerd
            Dec 26 '18 at 13:53











            0












            $begingroup$

            Try with:



            sudo pip install cntk


            or:



            sudo su [type admin password]
            pip install cntk





            share|improve this answer









            $endgroup$


















              0












              $begingroup$

              Try with:



              sudo pip install cntk


              or:



              sudo su [type admin password]
              pip install cntk





              share|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Try with:



                sudo pip install cntk


                or:



                sudo su [type admin password]
                pip install cntk





                share|improve this answer









                $endgroup$



                Try with:



                sudo pip install cntk


                or:



                sudo su [type admin password]
                pip install cntk






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 25 '18 at 23:51









                PawełPaweł

                465




                465






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Data Science Stack Exchange!


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


                    Use MathJax to format equations. MathJax reference.


                    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%2fdatascience.stackexchange.com%2fquestions%2f43068%2fproblem-importing-cntk-in-azure-jupyter-notebook%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

                    Callistus I

                    Tabula Rosettana

                    How to label and detect the document text images