這是python serial模塊下載,開(kāi)發(fā)python串口的模塊,簡(jiǎn)潔方便。在開(kāi)發(fā)前,請(qǐng)確保安裝此模塊。
python serial模塊調(diào)用pyserial模塊處問(wèn)題下載pyserial2.7安裝了,但是在IDLE中執(zhí)行importserial時(shí)出現(xiàn)如下問(wèn)題:安裝ctypes模塊沒(méi)#*#關(guān)于python模塊問(wèn)題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 是無(wú)法安裝 提示找不到serial
2.可以通過(guò)exe文件安裝,不過(guò)網(wǎng)上的exe多數(shù)是針對(duì)win32操作系統(tǒng)的
3.最保險(xiǎn)的安裝方式 把Pyserial安裝包下下來(lái) 通過(guò)python setup.py install來(lái)安裝