mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-04 20:05:25 +02:00
Add python-future by using python requirements file
This commit is contained in:
@@ -136,6 +136,18 @@ Setup Path to ESP-IDF
|
||||
|
||||
The toolchain programs access ESP-IDF using ``IDF_PATH`` environment variable. This variable should be set up on your PC, otherwise projects will not build. Setting may be done manually, each time PC is restarted. Another option is to set up it permanently by defining ``IDF_PATH`` in user profile. To do so, follow instructions specific to :ref:`Windows <add-idf_path-to-profile-windows>` , :ref:`Linux and MacOS <add-idf_path-to-profile-linux-macos>` in section :doc:`add-idf_path-to-profile`.
|
||||
|
||||
.. _get-started-get-packages:
|
||||
|
||||
Install the Required Python Packages
|
||||
====================================
|
||||
|
||||
Python packages required by ESP-IDF are located in the ``$IDF_PATH/requirements.txt`` file. You can install them by running::
|
||||
|
||||
sudo pip install -r $IDF_PATH/requirements.txt
|
||||
|
||||
or you can use the following command for installing them into the user install directory on systems where you don't have administrator rights::
|
||||
|
||||
pip install --user -r $IDF_PATH/requirements.txt
|
||||
|
||||
.. _get-started-start-project:
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@ To compile with ESP-IDF you need to get the following packages:
|
||||
|
||||
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
|
||||
|
||||
.. note::
|
||||
|
||||
Some older (pre-2014) Linux distributions may use ``pyserial`` version 2.x which is not supported by ESP-IDF.
|
||||
In this case please install a supported version via ``pip`` as it is described in section
|
||||
:ref:`get-started-get-packages`.
|
||||
|
||||
Compile the Toolchain from Source
|
||||
=================================
|
||||
|
||||
@@ -21,6 +21,11 @@ To compile with ESP-IDF you need to get the following packages:
|
||||
|
||||
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
|
||||
|
||||
.. note::
|
||||
|
||||
Some older (pre-2014) Linux distributions may use ``pyserial`` version 2.x which is not supported by ESP-IDF.
|
||||
In this case please install a supported version via ``pip`` as it is described in section
|
||||
:ref:`get-started-get-packages`.
|
||||
|
||||
Toolchain Setup
|
||||
===============
|
||||
|
||||
@@ -9,10 +9,9 @@ Install Prerequisites
|
||||
|
||||
sudo easy_install pip
|
||||
|
||||
- install pyserial::
|
||||
|
||||
sudo pip install pyserial
|
||||
.. note::
|
||||
|
||||
``pip`` will be used later for installing :ref:`the required Python packages <get-started-get-packages>`.
|
||||
|
||||
Compile the Toolchain from Source
|
||||
=================================
|
||||
|
||||
@@ -10,10 +10,9 @@ Install Prerequisites
|
||||
|
||||
sudo easy_install pip
|
||||
|
||||
- install pyserial::
|
||||
|
||||
sudo pip install pyserial
|
||||
.. note::
|
||||
|
||||
``pip`` will be used later for installing :ref:`the required Python packages <get-started-get-packages>`.
|
||||
|
||||
Toolchain Setup
|
||||
===============
|
||||
|
||||
Reference in New Issue
Block a user