I tried to build the latest version of Python (= 3.5.2) from source on my computer (running Debian 8.5). I found tips here:
SSL and Tkinter not present on source build of Python 3.5.2, Debian Linux ,
https://docs.python.org/devguide/setup.html#compiling-for-debugging
I did the following:
- $ sudo apt-get build-dep python3.5
- $ sudo apt-get build-dep python3.4 (since python3.5 did not work)
- Downloaded the tar.xz file from python.org
- right click -> Extract here.
- $ cd Python-3.5.2
- $ ./configure
- $ ./make
- $./make test
After running make test
I got (among others):
[398/398] test_multiprocessing_fork
386 tests OK.
12 tests skipped:
test_devpoll test_gdb test_kqueue test_msilib test_ossaudiodev
test_startfile test_tix test_tk test_ttk_guionly test_winreg
test_winsound test_zipfile64
Now I have got the following question: - How to install this version of Python on Debian 8.5 correctly?