Jul-11-2019, 03:05 PM
Thank Dev_nirwal,
i able to update the PIP and install Pyserial in cmd. but i still fail to import serial .
i able to update the PIP and install Pyserial in cmd. but i still fail to import serial .
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'