AWS Edukit Provision Script Fails

0

I'm having an issue trying to run the following command to register an M5 Core 2 AWS edukit device through platformio. When executing the following pio task to register the device:

pio run -e core2foraws-device_reg -t register_thing I get the following error:

'PosixPath' object has no attribute 'read_text' I've tried removing and re-installing python 3.9, pathlib and even platformio itself but I'm still getting the same error.

Peritus
已提問 2 年前檢視次數 274 次
1 個回答
0

I do not have an EduKit to try this out, but a quick search on google seems to suggest this is an issue with a non stdlib version of pathlib. Could you try to do pip uninstall pathlib and remove the line from pathlib import Path from the register_thing.py file and try again?

AWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南