Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 install Pyserial
#1
I using Python 3.x , and trying using difference code to download / install pyserial. but still fail to install it.

pip install pyserial

python -m pip install pyserial
anyone install before , please kindly advice and help on this
metulburr wrote Jul-11-2019, 06:52 PM:
Please make new threads in the correct forum. Refer to the Forum Structure for a full overview on what each forum is for.
The Board forum is for problems with this website/forum.
Quote
#2
hi neeheng,buddy i think you should update pip by "python -m pip install –upgrade pip " this command ,then you install pyserial by your command.sometimes i had face this issue and i always update pip in cmd.
hope your problem solve by this and if not feel free to private message me.
Quote
#3
Thank Dev_nirwal,

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'
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Dialup Modem using pyserial - Need it to show response from the other end. Rython 1 290 Jun-20-2019, 10:09 PM
Last Post: roy
  Problem to sent message with pyserial and ser.write DJ_Depannage 18 658 Apr-15-2019, 08:45 PM
Last Post: DJ_Depannage
  Pyserial ser.read() not working SpicyChef 1 592 Jan-29-2019, 07:20 AM
Last Post: buran
  pyserial-master installed bbut not recognized elwolv1 0 266 Jan-04-2019, 08:37 PM
Last Post: elwolv1
  Trouble with Pyserial and Arduino LiTing 3 804 Oct-07-2018, 11:00 AM
Last Post: Larz60+
  pyserial char by char io fcagney 4 990 May-15-2018, 10:45 PM
Last Post: DeaD_EyE
  Cannot attach to com port with Pyserial sabdulqadir 0 2,002 Nov-15-2017, 12:47 AM
Last Post: sabdulqadir
  Failed attempt to install pyserial skeeve 4 2,468 Nov-07-2017, 05:08 PM
Last Post: snippsat
  PySerial Question PythonMan 2 1,057 Oct-30-2017, 11:53 PM
Last Post: PythonMan
  PySerial Soichiro 1 2,083 Jun-09-2017, 03:56 PM
Last Post: DeaD_EyE

Forum Jump:


Users browsing this thread: 1 Guest(s)