<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    You could just add that repository but...<br>
    The add-apt-repository and PPAs are an Ubuntu thing, and while
    Ubuntu is based off of Debian there are quite a few things that get
    changed along the way, so you can't just use package repositories
    from one on the other whenever you want, especially with things like
    python that if you break it can really mess up stuff in your
    system.  The nasty part is that it might seem to work fine right
    away, but you've set yourself up for a problem that comes later on
    because the guy making the PPA uses some strange version scheme that
    will keep any other version from loading without specifically
    hammering the new one in there, and that can keep everything else
    from being able to upgrade.<br>
    <br>
    Since what you are looking for is already packages standard for the
    system and you just need a newer version; you're probably better off
    switching to Raspbian's equivalent of testing or unstable, upgrading
    your python packages to the version you need and then switching back
    to stable so you don't accidentally upgrade your whole system.<br>
    <br>
    Brian Cluff<br>
    <br>
    <div class="moz-cite-prefix">On 04/11/2016 05:14 AM, Michael wrote:<br>
    </div>
    <blockquote
cite="mid:CAFRvun+YxTS76-S9fMBi=LM-kXHM1UXebez4Wi-TUKr0qkdypA@mail.gmail.com"
      type="cite">
      <div dir="ltr">the os on the pi is raspbian  so the package
        manager is apt. When you say to add a repo do you mean the ppa
        but not to add it as a ppa but just to add it as a regular
        repository? instead of :
        <div><br>
        </div>
        <div>sudo add-apt-repository -y <a moz-do-not-send="true"
href="https://launchpad.net/%7Efkrull/+archive/ubuntu/deadsnakes-python2.7">https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes-python2.7</a><br>
        </div>
        <div><br>
        </div>
        <div>add:</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="https://launchpad.net/%7Efkrull/+archive/ubuntu/deadsnakes-python2.7">https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes-python2.7</a> <br>
        </div>
        <div><br>
        </div>
        <div>to /etc/apt/sources.list (or wherever they've moved it to).
          I know they've moved it but is it ok to use
          /etc/apt/sources.list?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Apr 11, 2016 at 1:03 AM, Todd
          Millecam <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:tyggna@gmail.com" target="_blank">tyggna@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>
                    <div>
                      <div>1) find out which distro is on your pi<br>
                      </div>
                      2) find out what package manger it uses<br>
                    </div>
                    3) find out how to add a repo to it and add the
                    python repo<br>
                  </div>
                  4) run an update to get the new packages list<br>
                </div>
                5) install python<br>
                *) alternatively, get the python-arm package (.deb,
                .rpm, or .tar.gz) and install it manually<br>
                <br>
              </div>
              Cross compiling is not for the faint of heart and unless
              you're comfortable editing a makefile and possibly reading
              a coredump then modifying C code either by hand or using
              patch, then I would advise against it.<br>
              <br>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Sun, Apr 10, 2016 at 7:30
                    PM, Michael <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:bmike1@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bmike1@gmail.com">bmike1@gmail.com</a></a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">I'm beginning to think I should
                        compile python on the main box and then install
                        it to the pi through ssh. Sound like a good
                        plan?</div>
                      <div class="gmail_extra">
                        <div>
                          <div><br>
                            <div class="gmail_quote">On Sun, Apr 10,
                              2016 at 10:01 PM, Michael <span dir="ltr"><<a
                                  moz-do-not-send="true"
                                  href="mailto:bmike1@gmail.com"
                                  target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bmike1@gmail.com">bmike1@gmail.com</a></a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">yeah... my pi doesn't
                                  recognize the
                                  command add-apt-repository (what it
                                  is, I got it written down).</div>
                                <div class="gmail_extra">
                                  <div>
                                    <div><br>
                                      <div class="gmail_quote">On Sun,
                                        Apr 10, 2016 at 9:56 PM, Todd
                                        Millecam <span dir="ltr"><<a
                                            moz-do-not-send="true"
                                            href="mailto:tyggna@gmail.com"
                                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tyggna@gmail.com">tyggna@gmail.com</a></a>></span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div dir="ltr">
                                            <div>
                                              <div>A PPA is an
                                                individual's
                                                repository.  They're
                                                used to dristribute more
                                                up-to-date versions of
                                                software than the distro
                                                maintainer.  A good
                                                example of a PPA is
                                                postgresql.  They test
                                                their new builds on
                                                Ubuntu, but Ubuntu only
                                                tests one of their
                                                builds every 6 months. 
                                                By adding the Postgresql
                                                PPA, you can get the
                                                most up-to-date stuff in
                                                a more timely fashion.<br>
                                                <br>
                                              </div>
                                              Another good use for a PPA
                                              is for non x86-64
                                              architectures (which the
                                              raspberry pi is).  Adding
                                              a PPA is the same
                                              operation as adding a
                                              repository. 
                                              apt-add-repository is the
                                              command for Ubuntu I
                                              believe.<br>
                                              <br>
                                            </div>
                                            I say this because I've
                                            attempted to compile things
                                            on a Pi 2, and it's an
                                            overnight wait.<br>
                                          </div>
                                          <div class="gmail_extra">
                                            <div>
                                              <div><br>
                                                <div class="gmail_quote">On
                                                  Sun, Apr 10, 2016 at
                                                  5:43 PM, koder <span
                                                    dir="ltr"><<a
                                                      moz-do-not-send="true"
href="mailto:iscreamkid@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:iscreamkid@gmail.com">iscreamkid@gmail.com</a></a>></span>
                                                  wrote:<br>
                                                  <blockquote
                                                    class="gmail_quote"
                                                    style="margin:0 0 0
                                                    .8ex;border-left:1px
                                                    #ccc
                                                    solid;padding-left:1ex">
                                                    <div text="#000000"
                                                      bgcolor="#FFFFFF">
                                                      Mike,<br>
                                                      <br>
                                                      What load are you
                                                      running on your
                                                      Pi?<br>
                                                      <br>
                                                      I have the B and
                                                      it comes loaded
                                                      with 2.7.3, which
                                                      is, for all
                                                      practical purposes
                                                      the same, I would
                                                      think.<br>
                                                      <br>
                                                      This link
                                                      addresses the
                                                      issue in the
                                                      Ubuntu environment
                                                      and may be
                                                      informative.<br>
                                                      <br>
                                                      if you are running
                                                      the early Pi,
                                                      perhaps yo might
                                                      want to consider
                                                      getting a second
                                                      SD chip and
                                                      experimenting with
                                                      a newer version of
                                                      Raspbian, or at
                                                      least give
                                                      yourself a spare
                                                      load that you can
                                                      mess up without
                                                      grief.
                                                      <div>
                                                        <div><br>
                                                          <br>
                                                          <br>
                                                          <br>
                                                          <div>On
                                                          04/10/2016
                                                          04:34 PM,
                                                          Michael wrote:<br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <blockquote
                                                        type="cite">
                                                        <div>
                                                          <div>
                                                          <div dir="ltr">my
                                                          little
                                                          raspberry pi
                                                          needs at the
                                                          least
                                                          pyhon2.7.10.
                                                          If it
                                                          understood
                                                          what a ppa is
                                                          this would be
                                                          a simple
                                                          matter but as
                                                          fate would
                                                          have it I need
                                                          to compile
                                                          from source.
                                                          Will doing
                                                          that screw up
                                                          anything ?<br
                                                          clear="all">
                                                          <div><br>
                                                          </div>
                                                          -- <br>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div><span
                                                          style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          </div>
                                                        </div>
                                                        <pre>---------------------------------------------------
PLUG-discuss mailing list - <a moz-do-not-send="true" href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a moz-do-not-send="true" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
                                                      </blockquote>
                                                      <br>
                                                    </div>
                                                    <br>
---------------------------------------------------<br>
                                                    PLUG-discuss mailing
                                                    list - <a
                                                      moz-do-not-send="true"
href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a></a><br>
                                                    To subscribe,
                                                    unsubscribe, or to
                                                    change your mail
                                                    settings:<br>
                                                    <a
                                                      moz-do-not-send="true"
href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                                                      rel="noreferrer"
                                                      target="_blank"><a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></a><br>
                                                  </blockquote>
                                                </div>
                                                <br>
                                                <br clear="all">
                                                <br>
                                              </div>
                                            </div>
                                            <span><font color="#888888">--
                                                <br>
                                                <div>Todd Millecam</div>
                                              </font></span></div>
                                          <br>
---------------------------------------------------<br>
                                          PLUG-discuss mailing list - <a
                                            moz-do-not-send="true"
                                            href="mailto:PLUG-discuss@lists.phxlinux.org"
                                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a></a><br>
                                          To subscribe, unsubscribe, or
                                          to change your mail settings:<br>
                                          <a moz-do-not-send="true"
                                            href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                                            rel="noreferrer"
                                            target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
                                        </blockquote>
                                      </div>
                                      <br>
                                      <br clear="all">
                                      <div><br>
                                      </div>
                                      -- <br>
                                    </div>
                                  </div>
                                  <div>
                                    <div dir="ltr">
                                      <div>
                                        <div dir="ltr">
                                          <div><span
                                              style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <div><br>
                            </div>
                          </div>
                        </div>
                        <span><font color="#888888">-- <br>
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div><span
                                        style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </font></span></div>
                      <br>
---------------------------------------------------<br>
                      PLUG-discuss mailing list - <a
                        moz-do-not-send="true"
                        href="mailto:PLUG-discuss@lists.phxlinux.org"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a></a><br>
                      To subscribe, unsubscribe, or to change your mail
                      settings:<br>
                      <a moz-do-not-send="true"
                        href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                        rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <br>
                  -- <br>
                  <div>Todd Millecam</div>
                </div>
              </div>
            </div>
            <br>
            ---------------------------------------------------<br>
            PLUG-discuss mailing list - <a moz-do-not-send="true"
              href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
            To subscribe, unsubscribe, or to change your mail settings:<br>
            <a moz-do-not-send="true"
              href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
              rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
    </blockquote>
    <br>
  </body>
</html>