(Fixed) Issues installing python-serial

Everything about rooting Toons 1 and 2.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
EricvL
Starting Member
Starting Member
Posts: 28
Joined: Sat May 02, 2020 2:54 pm

(Fixed) Issues installing python-serial

Post by EricvL »

Hi guys,

I decided to buy a Pi and I found one on Marktplaats. It contained no SD card, so I had to install everything from scratch. It's now running the newest PiOS BullsEye with the latest Python 3.9.9. I now get stuck when installing the python-serial package:

Code: Select all

RaspberryPi:~ $ sudo apt-get install python-serial
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-serial is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-serial' has no installation candidate
I do have a pyserial package installed:

Code: Select all

RaspberryPi:~/ToonRooter $ pip list|grep serial
pyserial          3.5b0
But I think this is python3-serial, not python-serial. And the ToonRooter doesn't work with it, I think:

Code: Select all

RaspberryPi:~/ToonRooter $ sudo python . --jtag-available
INFO:__main__:Starting up...
CRITICAL:__main__:No module named 'serial'
Any idea how to fix that? Do I have to downgrade to a Python 2.x release?
Thanks for any help!

Kind regrads,
Eric
Last edited by EricvL on Sun May 07, 2023 1:19 pm, edited 1 time in total.
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Issues installing python-serial

Post by oepi-loepi »

Bullseye is te nieuw lijkt het. (Is ook logisch).
EricvL
Starting Member
Starting Member
Posts: 28
Joined: Sat May 02, 2020 2:54 pm

Re: Issues installing python-serial

Post by EricvL »

oepi-loepi wrote: Sat May 06, 2023 8:56 pm Bullseye is te nieuw lijkt het. (Is ook logisch).
Hi Oepi-Loepi,

You're right, downgrading Python didn't help either, so I downgraded to Buster and now everything is working.
Thanks for your help!

Kind regards,
Eric
Post Reply

Return to “Toon Rooting”