title: How to install Python 3.5 on Raspbian Jessie
body: <p>I need to install Python 3.5+ on Rasbian (Debian for the Raspberry Pi). Currently only version 3.4 is supported. For the sources I want to compile I have to install:</p>
  
  <pre><code>sudo apt-get install -y python3 python-empy python3-dev python3-empy python3-nose python3-pip python3-setuptools python3-vcstool pydocstyle pyflakes python3-coverage python3-mock python3-pep8
  </code></pre>
  
  <p>But I think that <code>apt-get</code> will install more than these packages, for example <code>libpython3-dev</code>.</p>
  
  <p>I already install <code>python3</code> from <a href="https://www.python.org/downloads/" rel="nofollow noreferrer">https://www.python.org/downloads/</a> but I think, that is not complete.</p>
  
  <p>Can you give me some suggestion which way is the best to get this?</p>
  
  <p>A similar question was posted here <a href="https://stackoverflow.com/questions/35385423/install-python-3-5-with-pip-on-debian-8">Install Python 3.5 with pip on Debian 8</a> but this solution seems not to work on arm64.</p>
  
  <hr>
  
  <p>Edit:</p>
  
  <p>regarding to the comment of Padraic Cunningham: The first step I have done before. The second one results into this:</p>
  
  <pre><code>$ sudo python3.5 get-pip.py
  Traceback (most recent call last):
    File "get-pip.py", line 19177, in &lt;module&gt;
      main()
    File "get-pip.py", line 194, in main
      bootstrap(tmpdir=tmpdir)
    File "get-pip.py", line 82, in bootstrap
      import pip
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/__init__.py", line 16, in &lt;module&gt;
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/vcs/subversion.py", line 9, in &lt;module&gt;
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/index.py", line 30, in &lt;module&gt;
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/wheel.py", line 39, in &lt;module&gt;
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/_vendor/distlib/scripts.py", line 14, in &lt;module&gt;
    File "/tmp/tmpoe3rjlw3/pip.zip/pip/_vendor/distlib/compat.py", line 66, in &lt;module&gt;
  ImportError: cannot import name 'HTTPSHandler'
  </code></pre>