IoT Gateway instalation not working

35 views
Skip to first unread message

Richard Wilson

unread,
Dec 7, 2022, 10:06:43 PM12/7/22
to PrivateEyePi
I am trying to setup the IoT gateway on a Raspberry pi 2.
When I get to the part where I enter " sudo apt-get install python-serial"
I get the following message.

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

What is the next step I should follow to correct this?

Glenn Seaton

unread,
Dec 8, 2022, 9:29:02 PM12/8/22
to PrivateEyePi
What version of the RPi OS are you using, the older ones are no longer supported.

Richard Wilson

unread,
Dec 16, 2022, 9:15:31 PM12/16/22
to PrivateEyePi
Thanks for the response

I am using Raspberry Pi OS 32 bit Debian.

Glenn Seaton

unread,
Dec 16, 2022, 9:18:19 PM12/16/22
to PrivateEyePi
I believe it may have died with python2
Do you have python3 installed   do python -v  to find out  
Try  sudo pip install pyserial    pyserial my notes say replace python-serial

Glenn

Richard Wilson

unread,
Dec 16, 2022, 11:03:29 PM12/16/22
to PrivateEyePi
It is showing that I am running python 3.9.2
Reply all
Reply to author
Forward
0 new messages