mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 20:53:11 +00:00
Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions Closes IDF-1676 See merge request espressif/esp-idf!13622
This commit is contained in:
@@ -100,12 +100,6 @@ You are looking for similar result containing toolchain's path at the beginning
|
||||
|
||||
Instead of ``/home/user-name`` there should be a home path specific to your installation.
|
||||
|
||||
Python 2 deprecation
|
||||
====================
|
||||
|
||||
Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for it in ESP-IDF will be removed soon. Please install Python 3.6 or higher. Instructions for popular Linux distributions are listed above.
|
||||
|
||||
|
||||
Next Steps
|
||||
==========
|
||||
|
||||
|
||||
@@ -35,19 +35,13 @@ Permission issues /dev/ttyUSB0
|
||||
|
||||
With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the {IDF_TARGET_NAME}. :ref:`This can be solved by adding the current user to the dialout group<linux-dialout-group>`.
|
||||
|
||||
Fixing broken pip on Ubuntu 16.04
|
||||
=================================
|
||||
|
||||
Package ``python3-pip`` could be broken without possibility to upgrade it.
|
||||
Package has to be removed and installed manually using script `get-pip.py <https://bootstrap.pypa.io/get-pip.py>`_.::
|
||||
|
||||
apt remove python3-pip python3-virtualenv; rm -r ~/.local
|
||||
rm -r ~/.espressif/python_env && python get-pip.py
|
||||
|
||||
Python 2 deprecation
|
||||
Python compatibility
|
||||
====================
|
||||
|
||||
Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for it in ESP-IDF will be removed soon. Please install Python 3.6 or higher. Instructions for popular Linux distributions are listed above.
|
||||
ESP-IDF supports Python 3.6 or newer. It is recommended to upgrade your operating system to a recent version
|
||||
satisfying this requirement. Other options include the installation of Python from
|
||||
`sources <https://www.python.org/downloads/>`_ or the use of a Python version management system such as
|
||||
`pyenv <https://github.com/pyenv/pyenv>`_.
|
||||
|
||||
Next Steps
|
||||
==========
|
||||
|
||||
@@ -79,11 +79,6 @@ Build the toolchain::
|
||||
|
||||
Toolchain will be built in ``~/esp/ctng-volume/crosstool-NG/builds/{IDF_TARGET_TOOLCHAIN_PREFIX}``. To use it, you need to add ``~/esp/ctng-volume/crosstool-NG/builds/{IDF_TARGET_TOOLCHAIN_PREFIX}/bin`` to ``PATH`` environment variable.
|
||||
|
||||
Python 2 deprecation
|
||||
====================
|
||||
|
||||
Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for it in ESP-IDF will be removed soon. Please install Python 3.6 or higher. Instructions for macOS are listed above.
|
||||
|
||||
Next Steps
|
||||
==========
|
||||
|
||||
|
||||
@@ -57,11 +57,6 @@ Below is an overview of steps to install Python 3.
|
||||
|
||||
sudo port install python38
|
||||
|
||||
Python 2 deprecation
|
||||
====================
|
||||
|
||||
Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for it in ESP-IDF will be removed soon. Please install Python 3.6 or higher. Instructions for macOS are listed above.
|
||||
|
||||
|
||||
Next Steps
|
||||
==========
|
||||
|
||||
Reference in New Issue
Block a user