Debian Jessie python3 installation fails

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











up vote
0
down vote

favorite












I know there are other posts here asking how to install python 3.6, but all I want is a version of python 3. The repos seem to have python 3.4, which is fine but the problem is that apt-get is not responding in a way that makes sense. When I try the command apt-get install python3 I get the response:



python3 is already the newest version.


This is despite the fact that python -V command tells me python is 2.7.9. How do I install python 3 please?







share|improve this question




















  • python2.7 is set as default ,python 3 is already installed try python3 -V
    – GAD3R
    Nov 10 '17 at 12:04














up vote
0
down vote

favorite












I know there are other posts here asking how to install python 3.6, but all I want is a version of python 3. The repos seem to have python 3.4, which is fine but the problem is that apt-get is not responding in a way that makes sense. When I try the command apt-get install python3 I get the response:



python3 is already the newest version.


This is despite the fact that python -V command tells me python is 2.7.9. How do I install python 3 please?







share|improve this question




















  • python2.7 is set as default ,python 3 is already installed try python3 -V
    – GAD3R
    Nov 10 '17 at 12:04












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I know there are other posts here asking how to install python 3.6, but all I want is a version of python 3. The repos seem to have python 3.4, which is fine but the problem is that apt-get is not responding in a way that makes sense. When I try the command apt-get install python3 I get the response:



python3 is already the newest version.


This is despite the fact that python -V command tells me python is 2.7.9. How do I install python 3 please?







share|improve this question












I know there are other posts here asking how to install python 3.6, but all I want is a version of python 3. The repos seem to have python 3.4, which is fine but the problem is that apt-get is not responding in a way that makes sense. When I try the command apt-get install python3 I get the response:



python3 is already the newest version.


This is despite the fact that python -V command tells me python is 2.7.9. How do I install python 3 please?









share|improve this question











share|improve this question




share|improve this question










asked Nov 10 '17 at 12:00









AlarmKlokTain

31




31











  • python2.7 is set as default ,python 3 is already installed try python3 -V
    – GAD3R
    Nov 10 '17 at 12:04
















  • python2.7 is set as default ,python 3 is already installed try python3 -V
    – GAD3R
    Nov 10 '17 at 12:04















python2.7 is set as default ,python 3 is already installed try python3 -V
– GAD3R
Nov 10 '17 at 12:04




python2.7 is set as default ,python 3 is already installed try python3 -V
– GAD3R
Nov 10 '17 at 12:04










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










The default python interpreter is Python 2. If you want to run Python 3, you need to use the command python3. I would expect running python3 -V would give you Python 3.4.x.






share|improve this answer



























    up vote
    0
    down vote













    The tow version of python is already installed on your system , to list them :



     update-alternatives --list python


    sample output:



    /usr/bin/python2.7
    /usr/bin/python3.5


    To set python3 as default run:



    update-alternatives --config python


    Choose python 3.5






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      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: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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%2funix.stackexchange.com%2fquestions%2f403735%2fdebian-jessie-python3-installation-fails%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
      2
      down vote



      accepted










      The default python interpreter is Python 2. If you want to run Python 3, you need to use the command python3. I would expect running python3 -V would give you Python 3.4.x.






      share|improve this answer
























        up vote
        2
        down vote



        accepted










        The default python interpreter is Python 2. If you want to run Python 3, you need to use the command python3. I would expect running python3 -V would give you Python 3.4.x.






        share|improve this answer






















          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          The default python interpreter is Python 2. If you want to run Python 3, you need to use the command python3. I would expect running python3 -V would give you Python 3.4.x.






          share|improve this answer












          The default python interpreter is Python 2. If you want to run Python 3, you need to use the command python3. I would expect running python3 -V would give you Python 3.4.x.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 10 '17 at 12:05









          Python Guy

          361




          361






















              up vote
              0
              down vote













              The tow version of python is already installed on your system , to list them :



               update-alternatives --list python


              sample output:



              /usr/bin/python2.7
              /usr/bin/python3.5


              To set python3 as default run:



              update-alternatives --config python


              Choose python 3.5






              share|improve this answer
























                up vote
                0
                down vote













                The tow version of python is already installed on your system , to list them :



                 update-alternatives --list python


                sample output:



                /usr/bin/python2.7
                /usr/bin/python3.5


                To set python3 as default run:



                update-alternatives --config python


                Choose python 3.5






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The tow version of python is already installed on your system , to list them :



                   update-alternatives --list python


                  sample output:



                  /usr/bin/python2.7
                  /usr/bin/python3.5


                  To set python3 as default run:



                  update-alternatives --config python


                  Choose python 3.5






                  share|improve this answer












                  The tow version of python is already installed on your system , to list them :



                   update-alternatives --list python


                  sample output:



                  /usr/bin/python2.7
                  /usr/bin/python3.5


                  To set python3 as default run:



                  update-alternatives --config python


                  Choose python 3.5







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 10 '17 at 12:13









                  GAD3R

                  22.7k154895




                  22.7k154895



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403735%2fdebian-jessie-python3-installation-fails%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?