Linux Mint 20.3 is based on Ubuntu Focal which does not have python-serial.
In general, you should not count on even reasonable Python 2.7 support from newer Debian distros. Consider using PIP:

Go here:
https://github.com/pypa/get-pip

Do the curl magic described in the README.

Now you can run pip in the Python 2.7 environment by doing:
python2 -m pip

Alex


On Mon, Jun 27, 2022 at 10:05 PM Nikolas Schroeder via sudo-discuss <sudo-discuss@sudoroom.org> wrote:
my bad, Melinda = Juliana
Jake via sudo-discuss <sudo-discuss@sudoroom.org> hat am 28.06.2022 02:59 geschrieben:


i know this should be really really really easy, and my google searches keep
pointing me in circles suggesting that nobody else has had this problem, but
i'm apparently missing something fundamental.

$ python
Python 2.7.18 (default, Mar 8 2021, 13:02:45)
[GCC 9.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named serial

$ apt install python-serial
E: Unable to locate package python-serial

python3-serial is installed and "import serial" works fine in python3, but the
programs for controlling the robot are made for python2 and i don't know how
hard it will be to port them over:
https://github.com/jerkey/yasnac/tree/master/remote

$ uname -a
Linux wasp 5.4.0-110-generic #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022
x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.3
Release: 20.3
Codename: una

thank you for any help! This is really weird.

-jake
_______________________________________________
sudo-discuss mailing list -- sudo-discuss@sudoroom.org
To unsubscribe send an email to sudo-discuss-leave@sudoroom.org
More options at https://sudoroom.org/lists/postorius/lists/sudo-discuss.sudoroom.org/
_______________________________________________
sudo-discuss mailing list -- sudo-discuss@sudoroom.org
To unsubscribe send an email to sudo-discuss-leave@sudoroom.org
More options at https://sudoroom.org/lists/postorius/lists/sudo-discuss.sudoroom.org/