When I tried from max30102 import MAX30102, always got importError: no module named 'max30102.MAX30102'
dir as below:
lib
-max30102
--circular_buffer.py
--init.py
I also tried from max30102.init import MAX30102, got another error:
Traceback(most recent call last):
File"", line1, in
MemoryError: memory allocation failed,allocating 416 bytes
Please help me.