How to install the latest version of pip when I already installed the provided by Ubuntu?












18














In Ubuntu 16.04 when you do:



pip install --upgrade pip


you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Fair enough. Now try



pip install --upgrade pip


and you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


So, how to actually get pip 8.1.2?










share|improve this question
























  • Does sudo -H pip install --upgrade pip work?
    – edwinksl
    May 22 '16 at 19:41










  • @edwinksl: it gives the same results as the other commands.
    – user2413
    May 22 '16 at 20:13










  • That seems strange since it worked for me. Probably need to file a bug report.
    – edwinksl
    May 22 '16 at 20:15












  • @edwinksl: thanks. I'll wait a couple of days more and do that>
    – user2413
    May 22 '16 at 20:17






  • 1




    @edwinksl Just opened an issue in case anyone wants to track it.
    – Seth M. Larson
    Jun 4 '16 at 5:42
















18














In Ubuntu 16.04 when you do:



pip install --upgrade pip


you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Fair enough. Now try



pip install --upgrade pip


and you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


So, how to actually get pip 8.1.2?










share|improve this question
























  • Does sudo -H pip install --upgrade pip work?
    – edwinksl
    May 22 '16 at 19:41










  • @edwinksl: it gives the same results as the other commands.
    – user2413
    May 22 '16 at 20:13










  • That seems strange since it worked for me. Probably need to file a bug report.
    – edwinksl
    May 22 '16 at 20:15












  • @edwinksl: thanks. I'll wait a couple of days more and do that>
    – user2413
    May 22 '16 at 20:17






  • 1




    @edwinksl Just opened an issue in case anyone wants to track it.
    – Seth M. Larson
    Jun 4 '16 at 5:42














18












18








18


13





In Ubuntu 16.04 when you do:



pip install --upgrade pip


you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Fair enough. Now try



pip install --upgrade pip


and you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


So, how to actually get pip 8.1.2?










share|improve this question















In Ubuntu 16.04 when you do:



pip install --upgrade pip


you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Fair enough. Now try



pip install --upgrade pip


and you get:



Collecting pip
Using cached pip-8.1.2-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


So, how to actually get pip 8.1.2?







software-installation pip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 1 '16 at 1:37









Braiam

51.4k20136220




51.4k20136220










asked May 22 '16 at 14:57









user2413

3,902133862




3,902133862












  • Does sudo -H pip install --upgrade pip work?
    – edwinksl
    May 22 '16 at 19:41










  • @edwinksl: it gives the same results as the other commands.
    – user2413
    May 22 '16 at 20:13










  • That seems strange since it worked for me. Probably need to file a bug report.
    – edwinksl
    May 22 '16 at 20:15












  • @edwinksl: thanks. I'll wait a couple of days more and do that>
    – user2413
    May 22 '16 at 20:17






  • 1




    @edwinksl Just opened an issue in case anyone wants to track it.
    – Seth M. Larson
    Jun 4 '16 at 5:42


















  • Does sudo -H pip install --upgrade pip work?
    – edwinksl
    May 22 '16 at 19:41










  • @edwinksl: it gives the same results as the other commands.
    – user2413
    May 22 '16 at 20:13










  • That seems strange since it worked for me. Probably need to file a bug report.
    – edwinksl
    May 22 '16 at 20:15












  • @edwinksl: thanks. I'll wait a couple of days more and do that>
    – user2413
    May 22 '16 at 20:17






  • 1




    @edwinksl Just opened an issue in case anyone wants to track it.
    – Seth M. Larson
    Jun 4 '16 at 5:42
















Does sudo -H pip install --upgrade pip work?
– edwinksl
May 22 '16 at 19:41




Does sudo -H pip install --upgrade pip work?
– edwinksl
May 22 '16 at 19:41












@edwinksl: it gives the same results as the other commands.
– user2413
May 22 '16 at 20:13




@edwinksl: it gives the same results as the other commands.
– user2413
May 22 '16 at 20:13












That seems strange since it worked for me. Probably need to file a bug report.
– edwinksl
May 22 '16 at 20:15






That seems strange since it worked for me. Probably need to file a bug report.
– edwinksl
May 22 '16 at 20:15














@edwinksl: thanks. I'll wait a couple of days more and do that>
– user2413
May 22 '16 at 20:17




@edwinksl: thanks. I'll wait a couple of days more and do that>
– user2413
May 22 '16 at 20:17




1




1




@edwinksl Just opened an issue in case anyone wants to track it.
– Seth M. Larson
Jun 4 '16 at 5:42




@edwinksl Just opened an issue in case anyone wants to track it.
– Seth M. Larson
Jun 4 '16 at 5:42










4 Answers
4






active

oldest

votes


















11





+50









Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.



If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.



Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.



pip with --user



This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.



virtualenv



This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
http://docs.python-guide.org/en/latest/dev/virtualenvs/






share|improve this answer



















  • 1




    You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
    – Wyrmwood
    Jun 7 '16 at 16:08










  • Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
    – Afflicted
    Oct 9 '17 at 23:30



















9














It seems like this might be a problem with installing the .whl file for pip 8.1.2. A work-around to install pip 8.1.2 is to download the source directly from PyPi and install it via setup.py.



The following worked for me:



wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
tar -xzvf pip-8.1.2.tar.gz
cd pip-8.1.2
sudo python setup.py install


This of course is not a solution to install pip 8.1.2 via pip install --upgrade, but should squelch the warning until this issue is resolved.






share|improve this answer























  • There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
    – Amias
    Jun 6 '16 at 10:13



















4














sudo -H python -m pip install --upgrade pip will solve your issue. As someone mentioned above though the system specific requires python 2.7 for certain things... That being said you can upgrade pip without negatively impacting that but you can also install 3.5 alongside if you want to.



the -H is a flag for sudo that requests that the security policy set the HOME environment
variable to the home directory specified by the target user's
password database entry. Depending on the policy, this may
be the default behavior.






share|improve this answer























  • If someone wants to downvote a thought out post like this you should really say why This is poor form.
    – javadba
    Jun 27 '17 at 19:23










  • Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
    – Afflicted
    Jun 27 '17 at 19:24





















2














Uninstall pip using apt-get and install it using easy_install. It worked for me.



sudo apt-get remove python-pip
sudo easy_install 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%2f775942%2fhow-to-install-the-latest-version-of-pip-when-i-already-installed-the-provided-b%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    11





    +50









    Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.



    If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.



    Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.



    pip with --user



    This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.



    virtualenv



    This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
    http://docs.python-guide.org/en/latest/dev/virtualenvs/






    share|improve this answer



















    • 1




      You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
      – Wyrmwood
      Jun 7 '16 at 16:08










    • Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
      – Afflicted
      Oct 9 '17 at 23:30
















    11





    +50









    Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.



    If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.



    Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.



    pip with --user



    This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.



    virtualenv



    This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
    http://docs.python-guide.org/en/latest/dev/virtualenvs/






    share|improve this answer



















    • 1




      You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
      – Wyrmwood
      Jun 7 '16 at 16:08










    • Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
      – Afflicted
      Oct 9 '17 at 23:30














    11





    +50







    11





    +50



    11




    +50




    Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.



    If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.



    Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.



    pip with --user



    This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.



    virtualenv



    This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
    http://docs.python-guide.org/en/latest/dev/virtualenvs/






    share|improve this answer














    Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.



    If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.



    Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.



    pip with --user



    This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.



    virtualenv



    This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
    http://docs.python-guide.org/en/latest/dev/virtualenvs/







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jun 10 '16 at 17:21

























    answered Jun 6 '16 at 10:10









    Amias

    4,1801228




    4,1801228








    • 1




      You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
      – Wyrmwood
      Jun 7 '16 at 16:08










    • Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
      – Afflicted
      Oct 9 '17 at 23:30














    • 1




      You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
      – Wyrmwood
      Jun 7 '16 at 16:08










    • Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
      – Afflicted
      Oct 9 '17 at 23:30








    1




    1




    You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
    – Wyrmwood
    Jun 7 '16 at 16:08




    You really want to do an alt install of python if you want 2.7, so you won't interfere with the OS python. From there, you need to update pip in the alt install before the venv. You also want --no-cache-dir to prevent the cached version from being installed.
    – Wyrmwood
    Jun 7 '16 at 16:08












    Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
    – Afflicted
    Oct 9 '17 at 23:30




    Updating pip does not negatively impact (in anyway) python 2.7 which is by default shipped.
    – Afflicted
    Oct 9 '17 at 23:30













    9














    It seems like this might be a problem with installing the .whl file for pip 8.1.2. A work-around to install pip 8.1.2 is to download the source directly from PyPi and install it via setup.py.



    The following worked for me:



    wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
    tar -xzvf pip-8.1.2.tar.gz
    cd pip-8.1.2
    sudo python setup.py install


    This of course is not a solution to install pip 8.1.2 via pip install --upgrade, but should squelch the warning until this issue is resolved.






    share|improve this answer























    • There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
      – Amias
      Jun 6 '16 at 10:13
















    9














    It seems like this might be a problem with installing the .whl file for pip 8.1.2. A work-around to install pip 8.1.2 is to download the source directly from PyPi and install it via setup.py.



    The following worked for me:



    wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
    tar -xzvf pip-8.1.2.tar.gz
    cd pip-8.1.2
    sudo python setup.py install


    This of course is not a solution to install pip 8.1.2 via pip install --upgrade, but should squelch the warning until this issue is resolved.






    share|improve this answer























    • There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
      – Amias
      Jun 6 '16 at 10:13














    9












    9








    9






    It seems like this might be a problem with installing the .whl file for pip 8.1.2. A work-around to install pip 8.1.2 is to download the source directly from PyPi and install it via setup.py.



    The following worked for me:



    wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
    tar -xzvf pip-8.1.2.tar.gz
    cd pip-8.1.2
    sudo python setup.py install


    This of course is not a solution to install pip 8.1.2 via pip install --upgrade, but should squelch the warning until this issue is resolved.






    share|improve this answer














    It seems like this might be a problem with installing the .whl file for pip 8.1.2. A work-around to install pip 8.1.2 is to download the source directly from PyPi and install it via setup.py.



    The following worked for me:



    wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
    tar -xzvf pip-8.1.2.tar.gz
    cd pip-8.1.2
    sudo python setup.py install


    This of course is not a solution to install pip 8.1.2 via pip install --upgrade, but should squelch the warning until this issue is resolved.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 22 '16 at 17:15









    Tshilidzi Mudau

    3,54831727




    3,54831727










    answered Jun 4 '16 at 14:21









    Seth M. Larson

    1494




    1494












    • There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
      – Amias
      Jun 6 '16 at 10:13


















    • There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
      – Amias
      Jun 6 '16 at 10:13
















    There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
    – Amias
    Jun 6 '16 at 10:13




    There is a comment on that thread that suggests that this partly related to ubuntu patching their packaged version of pip to stop it upgrading apt installed packages.
    – Amias
    Jun 6 '16 at 10:13











    4














    sudo -H python -m pip install --upgrade pip will solve your issue. As someone mentioned above though the system specific requires python 2.7 for certain things... That being said you can upgrade pip without negatively impacting that but you can also install 3.5 alongside if you want to.



    the -H is a flag for sudo that requests that the security policy set the HOME environment
    variable to the home directory specified by the target user's
    password database entry. Depending on the policy, this may
    be the default behavior.






    share|improve this answer























    • If someone wants to downvote a thought out post like this you should really say why This is poor form.
      – javadba
      Jun 27 '17 at 19:23










    • Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
      – Afflicted
      Jun 27 '17 at 19:24


















    4














    sudo -H python -m pip install --upgrade pip will solve your issue. As someone mentioned above though the system specific requires python 2.7 for certain things... That being said you can upgrade pip without negatively impacting that but you can also install 3.5 alongside if you want to.



    the -H is a flag for sudo that requests that the security policy set the HOME environment
    variable to the home directory specified by the target user's
    password database entry. Depending on the policy, this may
    be the default behavior.






    share|improve this answer























    • If someone wants to downvote a thought out post like this you should really say why This is poor form.
      – javadba
      Jun 27 '17 at 19:23










    • Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
      – Afflicted
      Jun 27 '17 at 19:24
















    4












    4








    4






    sudo -H python -m pip install --upgrade pip will solve your issue. As someone mentioned above though the system specific requires python 2.7 for certain things... That being said you can upgrade pip without negatively impacting that but you can also install 3.5 alongside if you want to.



    the -H is a flag for sudo that requests that the security policy set the HOME environment
    variable to the home directory specified by the target user's
    password database entry. Depending on the policy, this may
    be the default behavior.






    share|improve this answer














    sudo -H python -m pip install --upgrade pip will solve your issue. As someone mentioned above though the system specific requires python 2.7 for certain things... That being said you can upgrade pip without negatively impacting that but you can also install 3.5 alongside if you want to.



    the -H is a flag for sudo that requests that the security policy set the HOME environment
    variable to the home directory specified by the target user's
    password database entry. Depending on the policy, this may
    be the default behavior.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 22 '16 at 17:13









    Elder Geek

    26.4k952125




    26.4k952125










    answered Jun 9 '16 at 13:44









    Afflicted

    5451412




    5451412












    • If someone wants to downvote a thought out post like this you should really say why This is poor form.
      – javadba
      Jun 27 '17 at 19:23










    • Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
      – Afflicted
      Jun 27 '17 at 19:24




















    • If someone wants to downvote a thought out post like this you should really say why This is poor form.
      – javadba
      Jun 27 '17 at 19:23










    • Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
      – Afflicted
      Jun 27 '17 at 19:24


















    If someone wants to downvote a thought out post like this you should really say why This is poor form.
    – javadba
    Jun 27 '17 at 19:23




    If someone wants to downvote a thought out post like this you should really say why This is poor form.
    – javadba
    Jun 27 '17 at 19:23












    Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
    – Afflicted
    Jun 27 '17 at 19:24






    Because they're angry and need to vent there anger on someone. Angry at what you ask, life in general. stack overflow has turned into nothing but a place to come and be harassed in.
    – Afflicted
    Jun 27 '17 at 19:24













    2














    Uninstall pip using apt-get and install it using easy_install. It worked for me.



    sudo apt-get remove python-pip
    sudo easy_install pip





    share|improve this answer


























      2














      Uninstall pip using apt-get and install it using easy_install. It worked for me.



      sudo apt-get remove python-pip
      sudo easy_install pip





      share|improve this answer
























        2












        2








        2






        Uninstall pip using apt-get and install it using easy_install. It worked for me.



        sudo apt-get remove python-pip
        sudo easy_install pip





        share|improve this answer












        Uninstall pip using apt-get and install it using easy_install. It worked for me.



        sudo apt-get remove python-pip
        sudo easy_install pip






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 10 '18 at 14:39









        toliveira

        174111




        174111






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f775942%2fhow-to-install-the-latest-version-of-pip-when-i-already-installed-the-provided-b%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido