quick_start_demo.py [WinError 2]

i doing the provisioning of Mesh network using python script when i run the following python file quick_start_demo.py i have occured the following errors as shown in picture. how i solve this error?

Parents
  • Hi,

    If you're just starting out with Bluetooth Mesh, we recommend you start working with nRF Connect SDK instead of nRF5 SDK for Mesh, due to various reasons, among them future support of the SDK. To get started with nRF Connect SDK you can start with following the first course at https://academy.nordicsemi.com the nRF Connect fundamentals course which will take you through the process of installing and getting started with the SDK.

    In the case that you don't have the opportunity to migrate to nRF Connect SDK, then the fault you're seeing is most likely due to the Python version you're using. The image you've supplied states that you're using Python 3.11, which is not supported in nRF5 SDK for Mesh v5.0.0. Here you're required to use Python 2.7 for some tasks and Python 3.5 for other tasks. See https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_getting_started_how_to_toolchain.html for more information about Python versions.

    Let me know if you have any additional questions about migrating to our newer SDK.

    Kind regards,
    Andreas

  • yes i install the correct python version 2.7 now its working. Now i have another problem i want to provision the devices which have already flash the firmware and i want to just provision all the servers at a time using python script.

    e.g i have mesh network which have one client and three servers and have flashed the light switch example we only want to provision the devices. here i have two way, one i open the interactive_pyaci.py and one by one provision the servers using command and the other way which i want make a python script and provision the servers at a time. but i don't know how i do that can you help me how i do this?

Reply
  • yes i install the correct python version 2.7 now its working. Now i have another problem i want to provision the devices which have already flash the firmware and i want to just provision all the servers at a time using python script.

    e.g i have mesh network which have one client and three servers and have flashed the light switch example we only want to provision the devices. here i have two way, one i open the interactive_pyaci.py and one by one provision the servers using command and the other way which i want make a python script and provision the servers at a time. but i don't know how i do that can you help me how i do this?

Children
Related