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
preguntada hace 2 años273 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas