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
asked 2 years ago270 views
1 Answer
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
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions