Open MaplestoryAlen opened 3 days ago
Hi @MaplestoryAlen. Please run the following commands after you've sourced export.sh
and share the received outputs:
which idf.py
idf.py --version
which python
/home/alen/.espressif/python_env/idf5.1_py3.8_env/bin/python -m pip freeze
Answers checklist.
General issue report
len@lee:~/esp-idf$ source export.sh Detecting the Python interpreter Checking "python3" ... Python 3.8.10 "python3" has been detected Checking Python compatibility Checking other ESP-IDF version. Using a supported version of tool cmake found in PATH: 3.16.3. However the recommended version is 3.24.0. Adding ESP-IDF tools to PATH... Using a supported version of tool cmake found in PATH: 3.16.3. However the recommended version is 3.24.0. Checking if Python packages are up to date... Constraint file: /home/alen/.espressif/espidf.constraints.v5.1.txt Requirement files:
/home/alen/esp-idf/tools/requirements/requirements.core.txt Python being checked: /home/alen/.espressif/python_env/idf5.1_py3.8_env/bin/python Python requirements are satisfied. Added the following directories to PATH: /home/alen/esp-idf/components/espcoredump /home/alen/esp-idf/components/partition_table /home/alen/esp-idf/components/app_update Done! You can now compile ESP-IDF projects. Go to the project directory and run:
idf.py build
Cannot import module "esp_idf_monitor". This usually means that "idf.py" was not spawned within an ESP-IDF shell environment or the python virtual environment used by "idf.py" is corrupted. Please use idf.py only in an ESP-IDF shell environment. If problem persists, please try to install ESP-IDF tools again as described in the Get Started guide.