Aug-23-2023, 06:28 PM
How did you reinstall the pyserial library?
Please show entire error trace. I would also like to know how you are running the program. Command line? IDE (if so, which)?
My first guess is you are not importing pyserial in the Python you are using to run the program. Are you using a virtual environment? Did you activate the environment before using pip install (assuming you used pip install)?
Please show entire error trace. I would also like to know how you are running the program. Command line? IDE (if so, which)?
My first guess is you are not importing pyserial in the Python you are using to run the program. Are you using a virtual environment? Did you activate the environment before using pip install (assuming you used pip install)?