Sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.5 1 Please note that after installing Python 3.6, you will have to direct the system to use python 3.6 instead of the default 3.5: Don’t remove Python 3.5 from your system – it will break. System extensions/Python libraries may or may not work. The PPA description says that it’s a plain backport of *just* Python 3.6. Sudo add-apt-repository ppa:jonathonf/python-3.6
Run the following commands in Terminal to install Python 3.6.1 in Ubuntu 16.04:
PEP 529, Change Windows filesystem encoding to UTF-8.PEP 528, Change Windows console encoding to UTF-8.dep: python3.6-minimal ( 3.6.5-3) not amd64, i386 Minimal subset of the Python language (version 3. MIME files 'mime.types' & 'mailcap', and support programs. PEP 526, Syntax for Variable Annotations (provisional) Interactive high-level object-oriented language (standard library, version 3.6) dep: libpython3.6-stdlib ( 3.6.9-118.04ubuntu1.6) amd64, i386 dep: mime-support.PEP 525, Asynchronous Generators (provisional).PEP 524, Make os.urandom() blocking on Linux (during system startup).PEP 523, Adding a frame evaluation API to CPython.PEP 520, Preserving Class Attribute Definition Order.PEP 519, Adding a file system path protocol.PEP 515, Underscores in Numeric Literals.PEP 506, Adding A Secrets Module To The Standard Library.PEP 487, Simpler customization of class creation.PEP 468, Preserving Keyword Argument Order mysqlclient Ubuntu 16.04 Xenial + Python 3.6 > : pip install mysqlclient: mysql.c:40:20: fatal error: Python.h: No.Major new features of the 3.6 series, compared to 3.5Īmong the new major new features in Python 3.6 are: See the PYTHONMALLOC section for more information. The tracemalloc module has been significantly reworked and is now used to provide better output for ResourceWarning as well as provide better diagnostics for memory allocation errors.The typing module received a number of improvements.The datetime module has gained support for Local Time Disambiguation.
All standard library functions operating on paths have been updated to work with the new protocol.