Please provide your code on pyserial.
Maybe you didn’t set the correct baud rate or the wires are not properly connected.
You can check it with some serial port debugging software.