参考网址:pyserial.sourceforge.net/pyserial.html#installation
Download the archive from http://pypi.python.org/pypi/pyserial. Unpack the archive, enter the pyserial-x.y directory and run:
python setup.py install
For Python 3.x:
python3 setup.py install