0

I am trying to install python3-serial on ubuntu (18.04 and 20.04) and can't seem to get miniterm.py in PATH.

From what I've read, it should be installed either in /usr/bin/miniterm.py or /usr/local/bin/miniterm.py, but it doesn't get installed anywhere. I have tried the following:

  1. sudo apt install -y python3-serial
  2. pip install pyserial in a virtual environment
  3. sudo pip install pyserial global

which miniterm.py returns nothing every time. I can't find it anywhere.

What do you advise?

1 Answers1

0

So, after fiddling around with pyserial, I have found out that, if installed using the setup.py script, miniterm.py will be installed in /usr/local/bin. I have tested this for pyserial 2.7 and 3.4.

For the newest version, though, which is 3.5, as @steeldriver said in his comment, pyserial-miniterm will be installed instead of miniterm.py.

When installing through apt, on ubuntu 18.04 pyserial 3.4-2 is installed and nothing is added in /usr/bin or /usr/local/bin. Or maybe my setup is broken or something, I don't know. On ubuntu 20.04 pyserial 3.4-5.1 will be installed through apt and miniterm will be put in /usr/bin.

All in all, this is really confusing.