/usr/local/bin/python3: No module named pip Error on or near line 85; exiting with status 1












0















I am installing Intel OpenVINO Toolkit in which I configure the model optimizer.



(ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites$ sudo ./install_prerequisites.sh
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://archive.canonical.com xenial InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 583 kB in 2s (287 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.10).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
/usr/local/bin/python3: No module named pip
Error on or near line 85; exiting with status 1


I have tried many things, so how can I solve it?



I have tried many things










share|improve this question




















  • 2





    You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

    – steeldriver
    Aug 25 '18 at 22:43











  • Run source deactivate and sudo ./install_prerequisites.sh

    – abu_bua
    Aug 26 '18 at 0:29













  • Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

    – An0n
    Aug 26 '18 at 0:38











  • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

    – Ankit gupta
    Aug 26 '18 at 14:59


















0















I am installing Intel OpenVINO Toolkit in which I configure the model optimizer.



(ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites$ sudo ./install_prerequisites.sh
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://archive.canonical.com xenial InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 583 kB in 2s (287 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.10).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
/usr/local/bin/python3: No module named pip
Error on or near line 85; exiting with status 1


I have tried many things, so how can I solve it?



I have tried many things










share|improve this question




















  • 2





    You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

    – steeldriver
    Aug 25 '18 at 22:43











  • Run source deactivate and sudo ./install_prerequisites.sh

    – abu_bua
    Aug 26 '18 at 0:29













  • Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

    – An0n
    Aug 26 '18 at 0:38











  • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

    – Ankit gupta
    Aug 26 '18 at 14:59
















0












0








0








I am installing Intel OpenVINO Toolkit in which I configure the model optimizer.



(ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites$ sudo ./install_prerequisites.sh
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://archive.canonical.com xenial InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 583 kB in 2s (287 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.10).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
/usr/local/bin/python3: No module named pip
Error on or near line 85; exiting with status 1


I have tried many things, so how can I solve it?



I have tried many things










share|improve this question
















I am installing Intel OpenVINO Toolkit in which I configure the model optimizer.



(ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites$ sudo ./install_prerequisites.sh
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://archive.canonical.com xenial InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 583 kB in 2s (287 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.10).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
/usr/local/bin/python3: No module named pip
Error on or near line 85; exiting with status 1


I have tried many things, so how can I solve it?



I have tried many things







apt software-installation pip jupyter






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 30 '18 at 23:13









karel

57.6k12128146




57.6k12128146










asked Aug 25 '18 at 18:44









Ankit guptaAnkit gupta

85




85








  • 2





    You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

    – steeldriver
    Aug 25 '18 at 22:43











  • Run source deactivate and sudo ./install_prerequisites.sh

    – abu_bua
    Aug 26 '18 at 0:29













  • Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

    – An0n
    Aug 26 '18 at 0:38











  • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

    – Ankit gupta
    Aug 26 '18 at 14:59
















  • 2





    You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

    – steeldriver
    Aug 25 '18 at 22:43











  • Run source deactivate and sudo ./install_prerequisites.sh

    – abu_bua
    Aug 26 '18 at 0:29













  • Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

    – An0n
    Aug 26 '18 at 0:38











  • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

    – Ankit gupta
    Aug 26 '18 at 14:59










2




2





You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

– steeldriver
Aug 25 '18 at 22:43





You appear to have a non-repository version of python /usr/local/bin/python3 - what is this, and how/why did you install it?

– steeldriver
Aug 25 '18 at 22:43













Run source deactivate and sudo ./install_prerequisites.sh

– abu_bua
Aug 26 '18 at 0:29







Run source deactivate and sudo ./install_prerequisites.sh

– abu_bua
Aug 26 '18 at 0:29















Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

– An0n
Aug 26 '18 at 0:38





Check the script you are using. BTW steeldriver, does it matter? Pip has nothing to do with python3 at all so. It should be pip3. But I get your point..

– An0n
Aug 26 '18 at 0:38













Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

– Ankit gupta
Aug 26 '18 at 14:59







Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line more better ,it shows same thing , i am installing openvino toolkit

– Ankit gupta
Aug 26 '18 at 14:59












2 Answers
2






active

oldest

votes


















1














Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.



sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip  


Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh






share|improve this answer

































    0














    Because you have python3-pip package installed, you need to invoke that as pip3:



    pip3 list
    sudo pip3 install virtualenv





    share|improve this answer
























    • it not works as in my case

      – Ankit gupta
      Aug 26 '18 at 14:52











    • abu_bua it shown same as previous

      – Ankit gupta
      Aug 26 '18 at 14:56











    • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

      – Ankit gupta
      Aug 26 '18 at 14:56













    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1068922%2fusr-local-bin-python3-no-module-named-pip-error-on-or-near-line-85-exiting-wi%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









    1














    Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.



    sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip  


    Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh






    share|improve this answer






























      1














      Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.



      sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip  


      Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh






      share|improve this answer




























        1












        1








        1







        Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.



        sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip  


        Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh






        share|improve this answer















        Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.



        sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip  


        Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 30 '18 at 23:14

























        answered Aug 30 '18 at 23:09









        karelkarel

        57.6k12128146




        57.6k12128146

























            0














            Because you have python3-pip package installed, you need to invoke that as pip3:



            pip3 list
            sudo pip3 install virtualenv





            share|improve this answer
























            • it not works as in my case

              – Ankit gupta
              Aug 26 '18 at 14:52











            • abu_bua it shown same as previous

              – Ankit gupta
              Aug 26 '18 at 14:56











            • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

              – Ankit gupta
              Aug 26 '18 at 14:56


















            0














            Because you have python3-pip package installed, you need to invoke that as pip3:



            pip3 list
            sudo pip3 install virtualenv





            share|improve this answer
























            • it not works as in my case

              – Ankit gupta
              Aug 26 '18 at 14:52











            • abu_bua it shown same as previous

              – Ankit gupta
              Aug 26 '18 at 14:56











            • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

              – Ankit gupta
              Aug 26 '18 at 14:56
















            0












            0








            0







            Because you have python3-pip package installed, you need to invoke that as pip3:



            pip3 list
            sudo pip3 install virtualenv





            share|improve this answer













            Because you have python3-pip package installed, you need to invoke that as pip3:



            pip3 list
            sudo pip3 install virtualenv






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 25 '18 at 20:12









            cosmoscaliburcosmoscalibur

            662617




            662617













            • it not works as in my case

              – Ankit gupta
              Aug 26 '18 at 14:52











            • abu_bua it shown same as previous

              – Ankit gupta
              Aug 26 '18 at 14:56











            • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

              – Ankit gupta
              Aug 26 '18 at 14:56





















            • it not works as in my case

              – Ankit gupta
              Aug 26 '18 at 14:52











            • abu_bua it shown same as previous

              – Ankit gupta
              Aug 26 '18 at 14:56











            • Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

              – Ankit gupta
              Aug 26 '18 at 14:56



















            it not works as in my case

            – Ankit gupta
            Aug 26 '18 at 14:52





            it not works as in my case

            – Ankit gupta
            Aug 26 '18 at 14:52













            abu_bua it shown same as previous

            – Ankit gupta
            Aug 26 '18 at 14:56





            abu_bua it shown same as previous

            – Ankit gupta
            Aug 26 '18 at 14:56













            Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

            – Ankit gupta
            Aug 26 '18 at 14:56







            Run source deactivate and sudo ./install_prerequisites.sh – abu_bua it neither change in little bit can you explain me the line better.

            – Ankit gupta
            Aug 26 '18 at 14:56




















            draft saved

            draft discarded




















































            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%2f1068922%2fusr-local-bin-python3-no-module-named-pip-error-on-or-near-line-85-exiting-wi%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

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei