How to create a module/package in Micropython? #18178
-
|
Hello, I am trying to create a package for one of the IMU sensor that I have connected on ESP32-S3 chip. The problem is that when I try to import the package, I get the error "No module named ICM42760P". The python code for the sensor and the one from which I am importing the module is in the same directory. Do I have to edit/add $PATH variable in Windows? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
You need to have the module installed on your ESP32-S3 board, preferably in Windows PATH doesn't affect this |
Beta Was this translation helpful? Give feedback.
-
|
Ok. Nice. That is a right explanation. BTW, I could not install |
Beta Was this translation helpful? Give feedback.
You need to have the module installed on your ESP32-S3 board, preferably in
/libWindows PATH doesn't affect this