PlatformIO Community

Module Not Found Error

This error comes while we build

-- Application: C:/Users/dell/Documents/PlatformIO/Projects/test/zephyr
-- Zephyr version: 2.3.0 (C:/Users/dell/.platformio/packages/framework-zephyr)
-- Found Python3: C:/Users/dell/.platformio/penv/Scripts/python.exe (found suitable exact version "3.7.7") found components: Interpreter 
-- Board: nrf52832_mdk
-- Found dtc: C:/Users/dell/.platformio/packages/tool-dtc/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Configuring incomplete, errors occurred!

Python path: C:/Users/dell/.platformio/penv/Scripts/python.exe
CMake Error at C:/Users/dell/.platformio/packages/framework-zephyr/cmake/zephyr_module.cmake:46 (message):
  Traceback (most recent call last):

    File "C:/Users/dell/.platformio/packages/framework-zephyr/scripts/", line 24, in <module>
      import pykwalify.core
    File "c:\users\dell\.platformio\penv\lib\site-packages\pykwalify\", line 25, in <module>
      from dateutil.parser import parse
    File "c:\users\dell\.platformio\penv\lib\site-packages\dateutil\parser\", line 2, in <module>
      from ._parser import parse, parser, parserinfo, ParserError
    File "c:\users\dell\.platformio\penv\lib\site-packages\dateutil\parser\", line 42, in <module>
      import six

  ModuleNotFoundError: No module named 'six'

Call Stack (most recent call first):
  C:/Users/dell/.platformio/packages/framework-zephyr/cmake/app/boilerplate.cmake:507 (include)
  CMakeLists.txt:2 (include)

================================================================ [FAILED] Took 2.37 seconds ================================================================
The terminal process "C:\Users\dell\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Weird. Are you using the latest PlatformIO core 5 (pio upgrade --dev) and the latest platform packages and thus Zephyr (pio platform update) ?

This used to be a problem that is being worked around by Zephyr Blink example build fails after new install but I thought it would be fixed by now.

Yes We are using it latest one, how resolution will come for this issue?

For now you can just open a command shell (cmd.exe) and use

C:\Users\dell\.platformio\penv\Scripts\pip.exe install six

to manually install it. @valeros should be able to fix it in the core / platforms.

Thank you Very Much for prompt support and help