mrjohannchang/aioserial.py

class error

xzzh999 opened this issue · 3 comments

Hi~ nice work.

in python 3.7 and virtual env, i got some error here:

import aioserial
import serial

 class AioSerial(serial.Serial):
AttributeError: module 'serial' has no attribute 'Serial'

It should have that attribute as documented here. Do you have pySerial installed?

@changyuheng
Thank you for u reply.
I delete the old package, and run pip command again, it works!
thanks~

see here:
espressif/esptool#269

should do this:

pip uninstall serial
pip install pyserial