Unable to locate package with apt-get remove












3















I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip, and get



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip


But which pip gives



/usr/local/bin/pip


I can confirm that pip doesn't work, because pip --version gives



bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory


How to I clean up my system?



FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.










share|improve this question














bumped to the homepage by Community 12 hours ago


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
















  • There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

    – doug
    Sep 3 '17 at 0:08











  • @doug I also tried sudo apt-get remove python-pip, doesn't work.

    – ved
    Sep 3 '17 at 0:29











  • Have you tried apt list | grep pip to find the package name?

    – WinEunuuchs2Unix
    Oct 8 '17 at 0:07
















3















I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip, and get



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip


But which pip gives



/usr/local/bin/pip


I can confirm that pip doesn't work, because pip --version gives



bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory


How to I clean up my system?



FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.










share|improve this question














bumped to the homepage by Community 12 hours ago


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
















  • There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

    – doug
    Sep 3 '17 at 0:08











  • @doug I also tried sudo apt-get remove python-pip, doesn't work.

    – ved
    Sep 3 '17 at 0:29











  • Have you tried apt list | grep pip to find the package name?

    – WinEunuuchs2Unix
    Oct 8 '17 at 0:07














3












3








3








I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip, and get



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip


But which pip gives



/usr/local/bin/pip


I can confirm that pip doesn't work, because pip --version gives



bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory


How to I clean up my system?



FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.










share|improve this question














I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip, and get



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip


But which pip gives



/usr/local/bin/pip


I can confirm that pip doesn't work, because pip --version gives



bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory


How to I clean up my system?



FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.







apt uninstall pip windows-subsystem-for-linux






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 2 '17 at 17:31









vedved

11613




11613





bumped to the homepage by Community 12 hours 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 12 hours ago


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















  • There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

    – doug
    Sep 3 '17 at 0:08











  • @doug I also tried sudo apt-get remove python-pip, doesn't work.

    – ved
    Sep 3 '17 at 0:29











  • Have you tried apt list | grep pip to find the package name?

    – WinEunuuchs2Unix
    Oct 8 '17 at 0:07



















  • There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

    – doug
    Sep 3 '17 at 0:08











  • @doug I also tried sudo apt-get remove python-pip, doesn't work.

    – ved
    Sep 3 '17 at 0:29











  • Have you tried apt list | grep pip to find the package name?

    – WinEunuuchs2Unix
    Oct 8 '17 at 0:07

















There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

– doug
Sep 3 '17 at 0:08





There is no package named pip. Probably you have python-pip package. (though WSL may be different..?

– doug
Sep 3 '17 at 0:08













@doug I also tried sudo apt-get remove python-pip, doesn't work.

– ved
Sep 3 '17 at 0:29





@doug I also tried sudo apt-get remove python-pip, doesn't work.

– ved
Sep 3 '17 at 0:29













Have you tried apt list | grep pip to find the package name?

– WinEunuuchs2Unix
Oct 8 '17 at 0:07





Have you tried apt list | grep pip to find the package name?

– WinEunuuchs2Unix
Oct 8 '17 at 0:07










1 Answer
1






active

oldest

votes


















0














Because you have pip3, you need to uninstall python3-pip.






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%2f952230%2funable-to-locate-package-with-apt-get-remove%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









    0














    Because you have pip3, you need to uninstall python3-pip.






    share|improve this answer




























      0














      Because you have pip3, you need to uninstall python3-pip.






      share|improve this answer


























        0












        0








        0







        Because you have pip3, you need to uninstall python3-pip.






        share|improve this answer













        Because you have pip3, you need to uninstall python3-pip.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 16 '18 at 2:41









        cosmoscaliburcosmoscalibur

        692618




        692618






























            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%2f952230%2funable-to-locate-package-with-apt-get-remove%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局