Problem in installing pip in Ubuntu 16.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Actually, I wanted to install pip because I needed to install pycurl which was needed for using Wfuzz. The main fact is that I need to install pip.



I remembered that I had already installed pip once but since I was getting some kind of weird errors, I just removed pip using




sudo apt-get remove python-pip




But now, when I am using




sudo apt-get install python-pip




The pip V 8.1 is getting installed, but when I am trying to use it, the error shows.




bash: /home/coder/.local/bin/pip: No such file or directory




I already went through this Problem installing pip: pip command not found



But there are already 3 pip files at that location, named pip, pip2 and pip2.7



So what should I do now? Any help will be much appreciated as I really need to use the tool wfuzz for other purposes.



OS: Ubuntu 16.04







share|improve this question




















  • stackoverflow.com/questions/26279207/…
    – Dadep
    May 9 at 14:14










  • @Dadep. That problem seems different though I tried purging and reinstalling yet no success
    – john400
    May 9 at 14:26










  • Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
    – Dadep
    May 9 at 14:28










  • Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
    – john400
    May 9 at 14:29







  • 1




    just open new question, for pycurl installation if you need help
    – Dadep
    May 9 at 14:30














up vote
0
down vote

favorite












Actually, I wanted to install pip because I needed to install pycurl which was needed for using Wfuzz. The main fact is that I need to install pip.



I remembered that I had already installed pip once but since I was getting some kind of weird errors, I just removed pip using




sudo apt-get remove python-pip




But now, when I am using




sudo apt-get install python-pip




The pip V 8.1 is getting installed, but when I am trying to use it, the error shows.




bash: /home/coder/.local/bin/pip: No such file or directory




I already went through this Problem installing pip: pip command not found



But there are already 3 pip files at that location, named pip, pip2 and pip2.7



So what should I do now? Any help will be much appreciated as I really need to use the tool wfuzz for other purposes.



OS: Ubuntu 16.04







share|improve this question




















  • stackoverflow.com/questions/26279207/…
    – Dadep
    May 9 at 14:14










  • @Dadep. That problem seems different though I tried purging and reinstalling yet no success
    – john400
    May 9 at 14:26










  • Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
    – Dadep
    May 9 at 14:28










  • Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
    – john400
    May 9 at 14:29







  • 1




    just open new question, for pycurl installation if you need help
    – Dadep
    May 9 at 14:30












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Actually, I wanted to install pip because I needed to install pycurl which was needed for using Wfuzz. The main fact is that I need to install pip.



I remembered that I had already installed pip once but since I was getting some kind of weird errors, I just removed pip using




sudo apt-get remove python-pip




But now, when I am using




sudo apt-get install python-pip




The pip V 8.1 is getting installed, but when I am trying to use it, the error shows.




bash: /home/coder/.local/bin/pip: No such file or directory




I already went through this Problem installing pip: pip command not found



But there are already 3 pip files at that location, named pip, pip2 and pip2.7



So what should I do now? Any help will be much appreciated as I really need to use the tool wfuzz for other purposes.



OS: Ubuntu 16.04







share|improve this question












Actually, I wanted to install pip because I needed to install pycurl which was needed for using Wfuzz. The main fact is that I need to install pip.



I remembered that I had already installed pip once but since I was getting some kind of weird errors, I just removed pip using




sudo apt-get remove python-pip




But now, when I am using




sudo apt-get install python-pip




The pip V 8.1 is getting installed, but when I am trying to use it, the error shows.




bash: /home/coder/.local/bin/pip: No such file or directory




I already went through this Problem installing pip: pip command not found



But there are already 3 pip files at that location, named pip, pip2 and pip2.7



So what should I do now? Any help will be much appreciated as I really need to use the tool wfuzz for other purposes.



OS: Ubuntu 16.04









share|improve this question











share|improve this question




share|improve this question










asked May 9 at 12:19









john400

57113




57113











  • stackoverflow.com/questions/26279207/…
    – Dadep
    May 9 at 14:14










  • @Dadep. That problem seems different though I tried purging and reinstalling yet no success
    – john400
    May 9 at 14:26










  • Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
    – Dadep
    May 9 at 14:28










  • Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
    – john400
    May 9 at 14:29







  • 1




    just open new question, for pycurl installation if you need help
    – Dadep
    May 9 at 14:30
















  • stackoverflow.com/questions/26279207/…
    – Dadep
    May 9 at 14:14










  • @Dadep. That problem seems different though I tried purging and reinstalling yet no success
    – john400
    May 9 at 14:26










  • Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
    – Dadep
    May 9 at 14:28










  • Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
    – john400
    May 9 at 14:29







  • 1




    just open new question, for pycurl installation if you need help
    – Dadep
    May 9 at 14:30















stackoverflow.com/questions/26279207/…
– Dadep
May 9 at 14:14




stackoverflow.com/questions/26279207/…
– Dadep
May 9 at 14:14












@Dadep. That problem seems different though I tried purging and reinstalling yet no success
– john400
May 9 at 14:26




@Dadep. That problem seems different though I tried purging and reinstalling yet no success
– john400
May 9 at 14:26












Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
– Dadep
May 9 at 14:28




Did you try to install with yum or like this : pip.pypa.io/en/stable/installing ?
– Dadep
May 9 at 14:28












Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
– john400
May 9 at 14:29





Hey I was able to install it. I think I just closed and opened my terminal again. Thanks for the help too. But now I am having problems with installing pycurl using the command >pip install pycurl. But its giving some error
– john400
May 9 at 14:29





1




1




just open new question, for pycurl installation if you need help
– Dadep
May 9 at 14:30




just open new question, for pycurl installation if you need help
– Dadep
May 9 at 14:30










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with



sudo apt-get purge python-pip


followed by



sudo apt-get update
sudo apt-get install python-pip


Purge removes configuration files as well as uninstalling the package.






share|improve this answer



























    up vote
    1
    down vote













    Probably pip is hashed at its previous location. To confirm, run type pip. The output may be



    pip is hashed (/home/coder/.local/bin/pip)


    If yes, run hash -d pip. That will fix it.






    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',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      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%2f1034018%2fproblem-in-installing-pip-in-ubuntu-16-04%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote



      accepted










      Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with



      sudo apt-get purge python-pip


      followed by



      sudo apt-get update
      sudo apt-get install python-pip


      Purge removes configuration files as well as uninstalling the package.






      share|improve this answer
























        up vote
        1
        down vote



        accepted










        Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with



        sudo apt-get purge python-pip


        followed by



        sudo apt-get update
        sudo apt-get install python-pip


        Purge removes configuration files as well as uninstalling the package.






        share|improve this answer






















          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with



          sudo apt-get purge python-pip


          followed by



          sudo apt-get update
          sudo apt-get install python-pip


          Purge removes configuration files as well as uninstalling the package.






          share|improve this answer












          Had a similar problem a while ago. If I remember correctly, it was solved by purging and reinstalling with



          sudo apt-get purge python-pip


          followed by



          sudo apt-get update
          sudo apt-get install python-pip


          Purge removes configuration files as well as uninstalling the package.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 9 at 13:18









          David

          362




          362






















              up vote
              1
              down vote













              Probably pip is hashed at its previous location. To confirm, run type pip. The output may be



              pip is hashed (/home/coder/.local/bin/pip)


              If yes, run hash -d pip. That will fix it.






              share|improve this answer
























                up vote
                1
                down vote













                Probably pip is hashed at its previous location. To confirm, run type pip. The output may be



                pip is hashed (/home/coder/.local/bin/pip)


                If yes, run hash -d pip. That will fix it.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Probably pip is hashed at its previous location. To confirm, run type pip. The output may be



                  pip is hashed (/home/coder/.local/bin/pip)


                  If yes, run hash -d pip. That will fix it.






                  share|improve this answer












                  Probably pip is hashed at its previous location. To confirm, run type pip. The output may be



                  pip is hashed (/home/coder/.local/bin/pip)


                  If yes, run hash -d pip. That will fix it.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 9 at 15:45









                  wjandrea

                  7,14242155




                  7,14242155






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034018%2fproblem-in-installing-pip-in-ubuntu-16-04%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                      Trouble downloading packages list due to a “Hash sum mismatch” error

                      How do I move numbers in filenames, in a batch renaming operation?