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
feita há 2 anos273 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas