Error: Port must be configured before it can be used (Conda vs Virtualenv)

后端 未结 0 636
南方客
南方客 2020-12-04 20:11

In my program with a virtualenv and using pyserial, I can run this code fine:

import serial
with serial.Serial() as ser:
    ser.baudrate = 38400
    ser.port         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题