Hello, I am unable to make the examples”OTA_Using_HTTPS” and”OTA_Using_MQTT” using MTB3.0. I’ve tried BSP” CY8CPROTO-062-4343W” and” CY8CEVAL- 062S2- LAI- 4373M2″. The error happens during the linking step.
ModuleNotFoundError: No module named cryptography.hazmat.primitives.asymmetric.ed25519′
There were also some compile warnings. Please find attached the logs.
Thank you!
Hi, I was suitable to make the CEs after doing some changes. The reason for these makes errors is that python3 installed on your machine does not have the required packages or has an older version of a package. You can follow the below steps to avoid errors and make it successful. 1. First, visit thRead more
Hi,
I was suitable to make the CEs after doing some changes. The reason for these makes errors is that python3 installed on your machine does not have the required packages or has an older version of a package. You can follow the below steps to avoid errors and make it successful.
1. First, visit the below link, copy the contents and paste them into a created txt file named “requirements.txt” on your Linux machine.
(https//github.com/mcu-tools/mcuboot/blob/main/scripts/requirements.txt)
2. Run the below cmd on your terminal to update the cryptography package. However, you need to update pip first and also update cryptography, If you get any error in this step. If the python version is 3.6 or older, you’ll get the “CryptographyDeprecationWarning” error. So, install python newer than the 3.6 version
Updating pip- (python3-m pip install-upgrade pip)
Updating cryptography- (python3-m pip install-upgrade cryptography)
3. Install cbor package, if you do not have it already.
(python3- m pip install cbor)
4. Do “cd” to the path where the “requirements.txt” file is present and run the below cmd. You should get the “Requirement already satisfied” msg and install the “intel hex”, and “cbor2” packages if you do not have them already.
(python3-m pip install-rrequirements.txt)
5. Now, you can open MTB IDE and hopefully make CE without any errors.
Thanks
See less