A quick question, as I was learning to set up a serial connection via python. I googled for according packages and found mainly two across the internet: serial and pyserial.
However, it seems there is only documentation to be found for pyserial, although both have a lot of stackoverflow entries.
Could it be that the serial package has been renamed to pyserial?
The serial package on Pypi is something different to pyserial.
Maybe what's confusing you is that you need to install Pyserial with pip install pyserial, but import it with serial. The name a package can be imported by gets set in the packages field in their setup.py. Here's the one for Pyserial. It can be different to the name of the package on Pypi.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With