Problem to install pyserial

I’m installing Can Bus GitHub - Arksine/CanBoot: Can Bootloader for Klipper MCUs and at that point :

For USB/UART devices: Before flashing, make sure pyserial is installed. This step only needs to be performed once:

pip3 install pyserial

I get: "pip3: command not found"

Can someone help?

regards
Joerg

I’m no expert, but I think that pip3 is part of Python 3. If you are running Python 2, try just using pip, so

pip install pyserial

the same result.

pip: command not found

OK, assuming that you are running Python 3 (run “python --version” to check), then you can install pip3 like this:

sudo apt install python3-pip

that is it. Thanks for help