PlatformIO Community

Build of Marlin - no success - elftools not found

Hello. Just do the same thing as last week. But now it doesnt work. Firmware not built today. Maybe update of PlatformIO is the reason.

ModuleNotFoundError: No module named 'elftools':
  File "C:\users\xxx\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 90:
    env = DefaultEnvironment(**DEFAULT_ENV_OPTIONS)
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Defaults.py", line 86:
    _default_env = SCons.Environment.Environment(*args, **kw)
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 999:
    apply_tools(self, tools, toolpath)
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 102:
    env.Tool(tool)
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 1843:
    tool = SCons.Tool.Tool(tool, toolpath, **kw)
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Tool\__init__.py", line 119:
    module = self._tool_module()
  File "C:\Users\xxx\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Tool\__init__.py", line 205:
    module = spec.loader.load_module(spec.name)
  File "<frozen importlib._bootstrap_external>", line 407:
    
  File "<frozen importlib._bootstrap_external>", line 907:
    
  File "<frozen importlib._bootstrap_external>", line 732:
    
  File "<frozen importlib._bootstrap>", line 265:
    
  File "<frozen importlib._bootstrap>", line 696:
    
  File "<frozen importlib._bootstrap>", line 677:
    
  File "<frozen importlib._bootstrap_external>", line 728:
    
  File "<frozen importlib._bootstrap>", line 219:
    
  File "C:\users\xxx\.platformio\penv\lib\site-packages\platformio\builder\tools\piosize.py", line 23:
    from elftools.elf.descriptions import describe_sh_flags
=========================================================== [FAILED] Took 2.27

PIO Core 5 requires the latest Marlin code base. Check thread Marlin: Help me ERRROR ModuleNotFoundError.