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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则