[op25-dev] OP25, python, and the upcoming *buntu 20.04 releases - heads up and FYI....

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.

Graham Norbury gnorbury at bondcar.com
Sun Feb 16 00:27:58 UTC 2020


I'm traveling at the moment and can't fully respond, but I will say up
front that op25 is fundamentally not python3 compatible.  Lots of rework
will be required... :(

Graham

On Fri, Feb 14, 2020, 10:10 PM <op25 at zellners.com> wrote:

>
> As part of my moves to resolve the cmake issue and testing 20.04 for
> new boxes for OP25 and other stuff.. ...
>
> Probably a bad idea to try to tackle both at once, but hey may as well go
> big!
>
> Well... there are some issues...
>
> *buntu and/or python are killing Python 2.7. While its in the repos
> now.. the info I am being advised it likely won't be in the release ...
>
> Neither of the python packages seem to be setting up the proper ENV
> vars, symlinks etc... but thats another issue...
>
> BUT
>
> GNURadio in the repo is setup for Python 3.7..so when its installed
> all the GNUR radio stuff is in the python3.7/ path, not 2.7/
>
> For OP25-boatbod is this Python 3.7 compatible??????
>
> If not, I am guessing theres going to be a problem as it likely won't
> run on 20.04 releases if the 2.7 packages are really removed.. and ONE
> is missing already (but its still early), python-waitress (the actual
> program DEB Is missing, but the doc DEB is there?? (Again we are still
> alpha early)), I can fix it and bring in the Eoan/19.10 one with a
> little hackery...
>
> I can get things to compile but I don't think its complete in the
> least.. and then attempting to run rx.py get the unable to import
> gnuradio.. as its not in 2.7 and some ENV var issues too... I'll look
> at the EVN vars to make it point to 2.7 properly like <20.04 but I am
> not sure thats going to fly as its all in 3.7 paths... see:
>
> :/usr/bin$ python3
> Python 3.8.2rc1 (default, Feb 12 2020, 00:06:56)
> [GCC 9.2.1 20200203] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gnuradio
> >>> quit();
>
> versus:
> :/usr/bin$ python
> Python 2.7.17 (default, Jan 21 2020, 23:28:51)
> [GCC 9.2.1 20200117] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gnuradio
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> ImportError: No module named gnuradio
> >>>
>
> So this is a heads up that theres likely to be a lot more noise about
> op25-boatbod not installing/compiling etc...or at least possibly have
> to go to 19.10 via LXC container..
>
> I'll keep you advised if I can make any progress... the cmake issue is
> resolved but it means going back to 3.10.. I couldn't get 3.12.x to
> work at all. cmake was pulled from source and compiled.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20200215/229d07b1/attachment.htm>


More information about the op25-dev mailing list