Updating Python on UbuntuHow to make Mercurial find updated version of Python?How do I install pip,...

Making him into a bully (how to show mild violence)

Move fast ...... Or you will lose

Why did Luke use his left hand to shoot?

Absorbing damage with Planeswalker

How can I play a serial killer in a party of good PCs?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

Is boss over stepping boundary/micromanaging?

What is the purpose of easy combat scenarios that don't need resource expenditure?

What is the use of 'de' preposition in 'Yo voy *de* compras todos los sábados'

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Is a new Boolean field better than a null reference when a value can be meaningfully absent?

What are "industrial chops"?

Why do neural networks need so many training examples to perform?

What would the chemical name be for C13H8Cl3NO

What's a good word to describe a public place that looks like it wouldn't be rough?

Is there a Linux system call to create a “view” of a range of a file?

A curious equality of integrals involving the prime counting function?

If I delete my router's history can my ISP still provide it to my parents?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Why avoid shared user accounts?

Use two 8s and two 3s to make the number 24

Citing paywalled articles accessed via illegal web sharing

Can you tell from a blurry photo if focus was too close or too far?

How much mayhem could I cause as a sentient fish?



Updating Python on Ubuntu


How to make Mercurial find updated version of Python?How do I install pip, virtualenv, python 2.6, and python 2.7 on Ubuntu 12.04?installing GD and gdmodule python ubuntuCannot change the desktop wallpaper in Ubuntu 14.04AWS Ubuntu 14.04 upgrade Python to 2.7.10, how to deal with apt-get python-devHow to fix “command not found” when it appears starting terminal on ubuntuInstall python 3.3 in linux (python 3.5 is the newest)Installing Python3 on MacOS using Homebrew has error “Failed to import the site module”sudo: apt: command not found after performing sudo apt remove gnupgpython3-pip is installed, but pip3 doesnt work













0















I am new to linux so I'm only just familiar with installing via the terminal. I currently have python 2.7.12 installed and I am trying to update it to python3 via the command



sudo apt-get install python3


however when i type in this command i am presented with 4 options



0 to upgrade
0 to newly install
0 to remove
5 to not upgrade


as you can see this is a problem and it doesn't recognize any commands i put in. I tried both 0 and 5 and they are both not found.



I'm running Ubuntu via virtualbox, not sure if this affects anything.










share|improve this question
















bumped to the homepage by Community 9 mins ago


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
















  • This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

    – AFH
    Oct 4 '17 at 15:30











  • There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

    – Ramhound
    Oct 4 '17 at 15:54
















0















I am new to linux so I'm only just familiar with installing via the terminal. I currently have python 2.7.12 installed and I am trying to update it to python3 via the command



sudo apt-get install python3


however when i type in this command i am presented with 4 options



0 to upgrade
0 to newly install
0 to remove
5 to not upgrade


as you can see this is a problem and it doesn't recognize any commands i put in. I tried both 0 and 5 and they are both not found.



I'm running Ubuntu via virtualbox, not sure if this affects anything.










share|improve this question
















bumped to the homepage by Community 9 mins ago


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
















  • This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

    – AFH
    Oct 4 '17 at 15:30











  • There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

    – Ramhound
    Oct 4 '17 at 15:54














0












0








0








I am new to linux so I'm only just familiar with installing via the terminal. I currently have python 2.7.12 installed and I am trying to update it to python3 via the command



sudo apt-get install python3


however when i type in this command i am presented with 4 options



0 to upgrade
0 to newly install
0 to remove
5 to not upgrade


as you can see this is a problem and it doesn't recognize any commands i put in. I tried both 0 and 5 and they are both not found.



I'm running Ubuntu via virtualbox, not sure if this affects anything.










share|improve this question
















I am new to linux so I'm only just familiar with installing via the terminal. I currently have python 2.7.12 installed and I am trying to update it to python3 via the command



sudo apt-get install python3


however when i type in this command i am presented with 4 options



0 to upgrade
0 to newly install
0 to remove
5 to not upgrade


as you can see this is a problem and it doesn't recognize any commands i put in. I tried both 0 and 5 and they are both not found.



I'm running Ubuntu via virtualbox, not sure if this affects anything.







linux ubuntu installation python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 4 '17 at 16:34









Toto

3,867101226




3,867101226










asked Oct 4 '17 at 15:13









johnjohn

11




11





bumped to the homepage by Community 9 mins 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 9 mins ago


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















  • This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

    – AFH
    Oct 4 '17 at 15:30











  • There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

    – Ramhound
    Oct 4 '17 at 15:54



















  • This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

    – AFH
    Oct 4 '17 at 15:30











  • There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

    – Ramhound
    Oct 4 '17 at 15:54

















This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

– AFH
Oct 4 '17 at 15:30





This suggests that you already have Python3 installed.You can use synaptic or sudo apt show python3 to check its installation status.

– AFH
Oct 4 '17 at 15:30













There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

– Ramhound
Oct 4 '17 at 15:54





There should also be a way to either use a verbose output and/or log file which contains the reason something wasn't updated. Can you provide that information?

– Ramhound
Oct 4 '17 at 15:54










1 Answer
1






active

oldest

votes


















0














You likely have Python v3 already installed. Try:



dpkg -l python3


You'll likely get something like this, which means python3 is already installed.



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-============================================================
ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default pyt


On Ubuntu, the default Python is Python 2.7. If you want Python v3, use the python3 command (or use python3 in the script's shebang). Do not replace python by Python v3 since too many systems scripts assume Python 2.7.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1256151%2fupdating-python-on-ubuntu%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














    You likely have Python v3 already installed. Try:



    dpkg -l python3


    You'll likely get something like this, which means python3 is already installed.



    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-===========================-==================-==================-============================================================
    ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default pyt


    On Ubuntu, the default Python is Python 2.7. If you want Python v3, use the python3 command (or use python3 in the script's shebang). Do not replace python by Python v3 since too many systems scripts assume Python 2.7.






    share|improve this answer




























      0














      You likely have Python v3 already installed. Try:



      dpkg -l python3


      You'll likely get something like this, which means python3 is already installed.



      Desired=Unknown/Install/Remove/Purge/Hold
      | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
      |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
      ||/ Name Version Architecture Description
      +++-===========================-==================-==================-============================================================
      ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default pyt


      On Ubuntu, the default Python is Python 2.7. If you want Python v3, use the python3 command (or use python3 in the script's shebang). Do not replace python by Python v3 since too many systems scripts assume Python 2.7.






      share|improve this answer


























        0












        0








        0







        You likely have Python v3 already installed. Try:



        dpkg -l python3


        You'll likely get something like this, which means python3 is already installed.



        Desired=Unknown/Install/Remove/Purge/Hold
        | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
        |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
        ||/ Name Version Architecture Description
        +++-===========================-==================-==================-============================================================
        ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default pyt


        On Ubuntu, the default Python is Python 2.7. If you want Python v3, use the python3 command (or use python3 in the script's shebang). Do not replace python by Python v3 since too many systems scripts assume Python 2.7.






        share|improve this answer













        You likely have Python v3 already installed. Try:



        dpkg -l python3


        You'll likely get something like this, which means python3 is already installed.



        Desired=Unknown/Install/Remove/Purge/Hold
        | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
        |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
        ||/ Name Version Architecture Description
        +++-===========================-==================-==================-============================================================
        ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default pyt


        On Ubuntu, the default Python is Python 2.7. If you want Python v3, use the python3 command (or use python3 in the script's shebang). Do not replace python by Python v3 since too many systems scripts assume Python 2.7.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 4 '17 at 21:04









        xenoidxenoid

        3,7453719




        3,7453719






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1256151%2fupdating-python-on-ubuntu%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

            Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

            Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...