Wie installiere Python 3.5 auf Raspbian Jessie

Muss ich Python installieren 3.5+ auf Rasbian (Debian für den Raspberry Pi). Derzeit nur version 3.4 unterstützt wird. Für die Quellen, die ich möchte zu kompilieren, die ich habe zu installieren:

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

Aber ich denke, dass apt-get installieren, mehr als diese Pakete, zum Beispiel libpython3-dev.

Ich schon installiert python3 aus https://www.python.org/downloads/ aber ich denke, dass ist nicht vollständig.

Können Sie mir einen Vorschlag, welcher Weg der beste ist, diese zu bekommen?

Eine ähnliche Frage wurde hier gepostet Installieren Sie Python 3.5 mit pip auf Debian 8 aber diese Lösung scheint nicht zu funktionieren auf arm64.


Edit:

Bezug auf den Kommentar von Padraic Cunningham: Der erste Schritt, den ich getan haben, bevor. Die zweite Ergebnisse in dieser:

$ sudo python3.5 get-pip.py
Traceback (most recent call last):
  File "get-pip.py", line 19177, in <module>
    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 <module>
  File "/tmp/tmpoe3rjlw3/pip.zip/pip/vcs/subversion.py", line 9, in <module>
  File "/tmp/tmpoe3rjlw3/pip.zip/pip/index.py", line 30, in <module>
  File "/tmp/tmpoe3rjlw3/pip.zip/pip/wheel.py", line 39, in <module>
  File "/tmp/tmpoe3rjlw3/pip.zip/pip/_vendor/distlib/scripts.py", line 14, in <module>
  File "/tmp/tmpoe3rjlw3/pip.zip/pip/_vendor/distlib/compat.py", line 66, in <module>
ImportError: cannot import name 'HTTPSHandler'
InformationsquelleAutor Alex44 | 2016-08-22
Schreibe einen Kommentar