How to solve these error while installing python3-pip on ubuntu16.04?












1















When I run the commannd sudo apt install python3-pipon Ubuntu 16.04 I got these errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-pip : Depends: python-pip-whl (= 8.1.1-2) but 8.1.1-2ubuntu0.4 is to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question




















  • 1





    First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

    – George Udosen
    Jan 1 '17 at 3:35













  • What does this comands do? Will you please describe throughly?

    – Darkhorse kafle
    Jan 1 '17 at 3:37











  • The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

    – George Udosen
    Jan 1 '17 at 3:38













  • Didnot worked for me!

    – Darkhorse kafle
    Jan 1 '17 at 3:42











  • Which of the commands did not work ? Update your answer with the error you got.

    – George Udosen
    Jan 1 '17 at 3:43


















1















When I run the commannd sudo apt install python3-pipon Ubuntu 16.04 I got these errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-pip : Depends: python-pip-whl (= 8.1.1-2) but 8.1.1-2ubuntu0.4 is to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question




















  • 1





    First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

    – George Udosen
    Jan 1 '17 at 3:35













  • What does this comands do? Will you please describe throughly?

    – Darkhorse kafle
    Jan 1 '17 at 3:37











  • The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

    – George Udosen
    Jan 1 '17 at 3:38













  • Didnot worked for me!

    – Darkhorse kafle
    Jan 1 '17 at 3:42











  • Which of the commands did not work ? Update your answer with the error you got.

    – George Udosen
    Jan 1 '17 at 3:43
















1












1








1


3






When I run the commannd sudo apt install python3-pipon Ubuntu 16.04 I got these errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-pip : Depends: python-pip-whl (= 8.1.1-2) but 8.1.1-2ubuntu0.4 is to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.









share|improve this question
















When I run the commannd sudo apt install python3-pipon Ubuntu 16.04 I got these errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-pip : Depends: python-pip-whl (= 8.1.1-2) but 8.1.1-2ubuntu0.4 is to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
Recommends: python3-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.






package-management






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 1 '17 at 7:13









George Udosen

20.4k94367




20.4k94367










asked Jan 1 '17 at 3:29









Darkhorse kafleDarkhorse kafle

5119




5119








  • 1





    First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

    – George Udosen
    Jan 1 '17 at 3:35













  • What does this comands do? Will you please describe throughly?

    – Darkhorse kafle
    Jan 1 '17 at 3:37











  • The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

    – George Udosen
    Jan 1 '17 at 3:38













  • Didnot worked for me!

    – Darkhorse kafle
    Jan 1 '17 at 3:42











  • Which of the commands did not work ? Update your answer with the error you got.

    – George Udosen
    Jan 1 '17 at 3:43
















  • 1





    First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

    – George Udosen
    Jan 1 '17 at 3:35













  • What does this comands do? Will you please describe throughly?

    – Darkhorse kafle
    Jan 1 '17 at 3:37











  • The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

    – George Udosen
    Jan 1 '17 at 3:38













  • Didnot worked for me!

    – Darkhorse kafle
    Jan 1 '17 at 3:42











  • Which of the commands did not work ? Update your answer with the error you got.

    – George Udosen
    Jan 1 '17 at 3:43










1




1





First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

– George Udosen
Jan 1 '17 at 3:35







First please copy and paste the error from your console and add to your post. Now run this from terminal: sudo apt -f install && sudo apt update && sudo apt dist-upgrade after that sudo apt install python3-pip.

– George Udosen
Jan 1 '17 at 3:35















What does this comands do? Will you please describe throughly?

– Darkhorse kafle
Jan 1 '17 at 3:37





What does this comands do? Will you please describe throughly?

– Darkhorse kafle
Jan 1 '17 at 3:37













The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

– George Udosen
Jan 1 '17 at 3:38







The first fixes the broken package issue, then it updates and after that we do normal install assuming broken packages were fixed by the previous commands. The && means only run next command, if and only if previous one was successful.

– George Udosen
Jan 1 '17 at 3:38















Didnot worked for me!

– Darkhorse kafle
Jan 1 '17 at 3:42





Didnot worked for me!

– Darkhorse kafle
Jan 1 '17 at 3:42













Which of the commands did not work ? Update your answer with the error you got.

– George Udosen
Jan 1 '17 at 3:43







Which of the commands did not work ? Update your answer with the error you got.

– George Udosen
Jan 1 '17 at 3:43












3 Answers
3






active

oldest

votes


















3














After having a lot of google search i was finally able to install pip3 on my ubuntu 16.04 machine by simply running these lines of code



1.sudo apt-get install python3-setuptools



2.sudo easy_install3 pip






share|improve this answer































    0














    You have broken packages so use these steps:





    1. Fix broken packages:



      sudo apt -f install



    2. Update:



      sudo apt update && sudo apt dist-upgrade



    3. Now install normally:



      sudo apt install python3-pip



    4. Check if it installed:



      pip3 --version



    That should fix that.






    share|improve this answer
























    • Copy it and paste it as text not an image ? And that is still the first image you posted.

      – George Udosen
      Jan 1 '17 at 4:10













    • 0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

      – George Udosen
      Jan 1 '17 at 4:16













    • Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

      – George Udosen
      Jan 1 '17 at 4:18













    • Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

      – Arduino_Sentinel
      Jan 1 '17 at 4:29











    • DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

      – George Udosen
      Jan 1 '17 at 4:29



















    0














    just remove the python-pip-whl package and try again:



    sudo apt-get remove python-pip-whl






    share|improve this answer























      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%2f866667%2fhow-to-solve-these-error-while-installing-python3-pip-on-ubuntu16-04%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      After having a lot of google search i was finally able to install pip3 on my ubuntu 16.04 machine by simply running these lines of code



      1.sudo apt-get install python3-setuptools



      2.sudo easy_install3 pip






      share|improve this answer




























        3














        After having a lot of google search i was finally able to install pip3 on my ubuntu 16.04 machine by simply running these lines of code



        1.sudo apt-get install python3-setuptools



        2.sudo easy_install3 pip






        share|improve this answer


























          3












          3








          3







          After having a lot of google search i was finally able to install pip3 on my ubuntu 16.04 machine by simply running these lines of code



          1.sudo apt-get install python3-setuptools



          2.sudo easy_install3 pip






          share|improve this answer













          After having a lot of google search i was finally able to install pip3 on my ubuntu 16.04 machine by simply running these lines of code



          1.sudo apt-get install python3-setuptools



          2.sudo easy_install3 pip







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 11 '17 at 6:04









          Darkhorse kafleDarkhorse kafle

          5119




          5119

























              0














              You have broken packages so use these steps:





              1. Fix broken packages:



                sudo apt -f install



              2. Update:



                sudo apt update && sudo apt dist-upgrade



              3. Now install normally:



                sudo apt install python3-pip



              4. Check if it installed:



                pip3 --version



              That should fix that.






              share|improve this answer
























              • Copy it and paste it as text not an image ? And that is still the first image you posted.

                – George Udosen
                Jan 1 '17 at 4:10













              • 0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

                – George Udosen
                Jan 1 '17 at 4:16













              • Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

                – George Udosen
                Jan 1 '17 at 4:18













              • Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

                – Arduino_Sentinel
                Jan 1 '17 at 4:29











              • DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

                – George Udosen
                Jan 1 '17 at 4:29
















              0














              You have broken packages so use these steps:





              1. Fix broken packages:



                sudo apt -f install



              2. Update:



                sudo apt update && sudo apt dist-upgrade



              3. Now install normally:



                sudo apt install python3-pip



              4. Check if it installed:



                pip3 --version



              That should fix that.






              share|improve this answer
























              • Copy it and paste it as text not an image ? And that is still the first image you posted.

                – George Udosen
                Jan 1 '17 at 4:10













              • 0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

                – George Udosen
                Jan 1 '17 at 4:16













              • Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

                – George Udosen
                Jan 1 '17 at 4:18













              • Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

                – Arduino_Sentinel
                Jan 1 '17 at 4:29











              • DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

                – George Udosen
                Jan 1 '17 at 4:29














              0












              0








              0







              You have broken packages so use these steps:





              1. Fix broken packages:



                sudo apt -f install



              2. Update:



                sudo apt update && sudo apt dist-upgrade



              3. Now install normally:



                sudo apt install python3-pip



              4. Check if it installed:



                pip3 --version



              That should fix that.






              share|improve this answer













              You have broken packages so use these steps:





              1. Fix broken packages:



                sudo apt -f install



              2. Update:



                sudo apt update && sudo apt dist-upgrade



              3. Now install normally:



                sudo apt install python3-pip



              4. Check if it installed:



                pip3 --version



              That should fix that.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jan 1 '17 at 3:54









              George UdosenGeorge Udosen

              20.4k94367




              20.4k94367













              • Copy it and paste it as text not an image ? And that is still the first image you posted.

                – George Udosen
                Jan 1 '17 at 4:10













              • 0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

                – George Udosen
                Jan 1 '17 at 4:16













              • Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

                – George Udosen
                Jan 1 '17 at 4:18













              • Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

                – Arduino_Sentinel
                Jan 1 '17 at 4:29











              • DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

                – George Udosen
                Jan 1 '17 at 4:29



















              • Copy it and paste it as text not an image ? And that is still the first image you posted.

                – George Udosen
                Jan 1 '17 at 4:10













              • 0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

                – George Udosen
                Jan 1 '17 at 4:16













              • Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

                – George Udosen
                Jan 1 '17 at 4:18













              • Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

                – Arduino_Sentinel
                Jan 1 '17 at 4:29











              • DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

                – George Udosen
                Jan 1 '17 at 4:29

















              Copy it and paste it as text not an image ? And that is still the first image you posted.

              – George Udosen
              Jan 1 '17 at 4:10







              Copy it and paste it as text not an image ? And that is still the first image you posted.

              – George Udosen
              Jan 1 '17 at 4:10















              0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

              – George Udosen
              Jan 1 '17 at 4:16







              0 doesn't mean error, simply means there's nothing to upgrade. Now what did pip3 --version give you ?

              – George Udosen
              Jan 1 '17 at 4:16















              Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

              – George Udosen
              Jan 1 '17 at 4:18







              Use your mouse to highlight the text in the terminal, then right click and select copy. After that come back to your your post and update your question with it.

              – George Udosen
              Jan 1 '17 at 4:18















              Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

              – Arduino_Sentinel
              Jan 1 '17 at 4:29





              Dark house don't screen shot the errors,instead just copy and paste them!!any way,what errors did my solution throw?

              – Arduino_Sentinel
              Jan 1 '17 at 4:29













              DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

              – George Udosen
              Jan 1 '17 at 4:29





              DON'T POST IMAGES IN COMMENTS, I HAVE GIVEN DIRECTIONS ON HOW TO COPY TEXTS FROM THE CONSOLE PLEASE FOLLOW THAT

              – George Udosen
              Jan 1 '17 at 4:29











              0














              just remove the python-pip-whl package and try again:



              sudo apt-get remove python-pip-whl






              share|improve this answer




























                0














                just remove the python-pip-whl package and try again:



                sudo apt-get remove python-pip-whl






                share|improve this answer


























                  0












                  0








                  0







                  just remove the python-pip-whl package and try again:



                  sudo apt-get remove python-pip-whl






                  share|improve this answer













                  just remove the python-pip-whl package and try again:



                  sudo apt-get remove python-pip-whl







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 3 at 10:06









                  Idan OriIdan Ori

                  1




                  1






























                      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%2f866667%2fhow-to-solve-these-error-while-installing-python3-pip-on-ubuntu16-04%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

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      File:DeusFollowingSea.jpg