Pyterm command from terminal

I have recently installed RIOT’OS on Ubuntu 20.4. I have tested the make and flash command and it seems to work… Now I have tried the command pyterm -p /dev/ttyUSB2 -b 500000

But there is the following error:

File /usr/local/bin/pyterm line 29 in module import serial Import Error : No module named serial

Please can you help me to find the reason of this problem ? Thank you Bye

try pip3 install --user pyserial.

Alternatively you can also sudo apt install python3-serial

that’s actually preferable on ubuntu!

1 Like