alduxvm / pyMultiWii

MultiWii Serial Protocol (MSP) API to send and receive data from firmware using MSP
GNU General Public License v3.0
154 stars 86 forks source link

Error when running the example(folder test) #40

Open GrozaRobotovFPV opened 2 years ago

GrozaRobotovFPV commented 2 years ago

Error:

Traceback (most recent call last): File "C:\Pyton.PROJECTS\pythonProject1\MyFile.py", line 18, in board = MultiWii("/dev/ttyUSB0") File "C:\Pyton.PROJECTS\pythonProject1\venv\lib\site-packages\pymultiwii__init.py", line 79, in init__ self.ser = serial.Serial() AttributeError: module 'serial' has no attribute 'Serial'

What am I doing wrong?

Niko-La commented 1 year ago

@GrozaRobotovFPV pip install pyserial