On Tue, 29 Dec 2020 23:29:39 +0000, Martin Gregorie wrote:
> On Tue, 29 Dec 2020 21:59:18 +0000, Chris Green wrote:
>
>> Python 2.7 went out of support at the beginning of 2020, is it now
>> possible to remove it from buster installations?
>
> Check whether you haven't got any Raspbian packages that use Python 2.7
> and no other Python programs from 2rd parties or written by yourself.
>
> If you don't have any of these dependencies it can be removed.
>
> To search for them:
>
> - if you write Python, grep your local source files for strings unique
> to
> Python 2.7 such as library functions used by 2.7 and not by 3.7
>
> - running "apt-get --no-remove autoremove" should report any packages
> that were installed to satisfy dependencies without removing them.
> **** caution I've not tried this, but its documented in the apt-get
> **** manpage.
when I installed software from Adafruit for an audio hat (actually their
Voice Bonnet) it issued a warning that is was going to change the default
system python to Python3, so fare I have experienced no issues
this may be a safer way to conver to python3 as python2 is still
available if needed.
--
The system will be down for 10 days for preventive maintenance.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|