我想在raspberry pi上安装pyserial。但它错了。 我喜欢这个:
Copy the file into /home/pi
Double click on pyserial-2.7.tar.gz
Choose 'Action'
Choose 'Extract'
double click on pyserial-2.6.tar0
Choose 'Action'
Choose 'Extract'
Open LXTerminal
type cd pyserial-2.7
press Enter
type sudo python setup.py install
press Enter
但是这样的错误:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option :'use_2to3'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
running install scripts
changing mode of /urs/local/bin/miniterm.py to 755
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/pyserial-2.7.egg-info
writing /usr/local/lib/python2.7/dist-packages/pyserial-2.7.egg-info
它有什么问题?请帮助我解决它。谢谢!