command to install pyserial library code example Example: install serial python python -m pip install pyserial