這是python serial模塊下載,開發(fā)python串口的模塊,簡潔方便。在開發(fā)前,請(qǐng)確保安裝此模塊。
python serial模塊調(diào)用pyserial模塊處問題下載pyserial2.7安裝了,但是在IDLE中執(zhí)行importserial時(shí)出現(xiàn)如下問題:安裝ctypes模塊沒#*#關(guān)于python模塊問題STL作為 。
This module encapsulates the access for the serial port. It provides backends for Python running on Windows, Linux, BSD (possibly any
POSIX compliant system), Jython and IronPython (.NET and Mono). The module named "serial" automatically selects the appropriate backend.
1.easy_install 是無法安裝 提示找不到serial
2.可以通過exe文件安裝,不過網(wǎng)上的exe多數(shù)是針對(duì)win32操作系統(tǒng)的
3.最保險(xiǎn)的安裝方式 把Pyserial安裝包下下來 通過python setup.py install來安裝