TypeError: Type str doesn’t support the buffer API – Solved

Raspberry pi logo

TypeError: Type str doesn’t support the buffer APISolved

If you get this error Type str doesn’t support the buffer API suggests that whatever you’re trying to ouput needs to be decoded.

Output:

TypeError: Type str doesn’t support the buffer API

Solution:

Credit to: http://electronicsbyexamples.blogspot.com/2014/02/raspberry-pi-control-from-mobile-device.html

Leave a Reply