Python

Python Import Error ModuleNotFoundError : No Module Named PySerial In Ubuntu Linux



Python Import Error ModuleNotFoundError : No Module Named PySerial In Ubuntu Linux

To Install Pyserial python library In Ubuntu Linux, type :
sudo apt update
sudo apt upgrade -y
sudo apt install python3 python3-pip
pip3 install pyserial

Now, PySerial python library is installed in your system. To import PySerial python library, type :
import serial

To check it’s installed version, type :
serial.__version__

Similar Posts

4 thoughts on “Python Import Error ModuleNotFoundError : No Module Named PySerial In Ubuntu Linux

Leave a Reply

Your email address will not be published. Required fields are marked *