Jul-13-2019, 04:09 AM
hi all,
I able to install Pyserial in CMD but still unable to use it. i not sure where i'm go wrong . hope someone can help and share with me.
I able to install Pyserial in CMD but still unable to use it. i not sure where i'm go wrong . hope someone can help and share with me.
import time import serial ser = serial.Serial('COM6', 115200) while True: value = ser.readline() print(value) time.sleep(0.5)
Error:ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-c45aee60da5c> in <module>()
1 import time
----> 2 import serial
3
4 ser = serial.Serial('COM6', 115200)
5
ModuleNotFoundError: No module named 'serial'