You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is supposed to install pyparsing less than 2.4.0, the affected user still somehow got pyparsing 2.4.7 on his system.
This leads, as discussed in here, to an internal error in the ESP-IDF build system when the linker script is generated.
linker script generation failed for /<user>/.platformio/packages/framework-espidf/components/esp32/ld/esp32.project.ld.in
ERROR: failed to parse /<user>/.platformio/packages/framework-espidf/components/esp_event/linker.lf
Expected end of text, found 'i' (at char 0), (line:1, col:1)
*** [.pio/build/esp32dev/esp32.project.ld] Error 1
The error is solvable by telling PlatformIO's Python executable to pip uninstall pyparsing and reinstall a known good version, 2.2.0.
It should be investigated why it was possible that the user got a wrong pyparsing version in PlatformIO's isolated Python environment. Possibly other builder scripts for other frameworks / platforms install a higher version?
The text was updated successfully, but these errors were encountered:
As reported per community topic.
It seems that although this code
platform-espressif32/builder/frameworks/espidf.py
Lines 78 to 83 in 4cb0633
is supposed to install
pyparsing
less than 2.4.0, the affected user still somehow gotpyparsing 2.4.7
on his system.This leads, as discussed in here, to an internal error in the ESP-IDF build system when the linker script is generated.
The error is solvable by telling PlatformIO's Python executable to
pip uninstall pyparsing
and reinstall a known good version, 2.2.0.It should be investigated why it was possible that the user got a wrong pyparsing version in PlatformIO's isolated Python environment. Possibly other builder scripts for other frameworks / platforms install a higher version?
The text was updated successfully, but these errors were encountered: