Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-27 Thread Ivan Iudice
I tried to compile gnuradio on the host imposing use of python 2.7 but it seems that always the last python version is used. Any ideas? Ivan > Il giorno 21 feb 2020, alle ore 20:40, Ivan Iudice ha > scritto: > > Now, do you suggest to build and install gnuradio on my host machine forcing >

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Ivan Iudice
Now, do you suggest to build and install gnuradio on my host machine forcing use of python 2.7 to have aligned versions? After done, should I re-create my OOT module, and build it, to work fine? Thank you. Ivan > Il giorno 21 feb 2020, alle ore 20:28, Müller, Marcus (CEL) > ha scritto: > > O

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread CEL
On Fri, 2020-02-21 at 19:44 +0100, Ivan Iudice wrote: > > An other question, why the same version of gnuradio (3.8.0.0) I compiled and > installed on my host machine uses python 3, and on the E310 uses python 2? > Because those are built in different environments. smime.p7s Description: S/MIM

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Ivan Iudice
The version compiled and installed on the E310 is 3.8.0.0. As I stated in my last mail, I tried to compile my OOT module forcing cmake to use python 2.7 (see https://pastebin.com/EZfNkcGy), but it did not solve the problem. An other question, why the same version of gnuradio (3.8.0.0) I compiled

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Philip Balister
What version gnuradio is installed on the E310? $ gnuradio-config-info -v There should be a cmake variable to set the python interpreter version. That might be better than trying to point at libraries in the sdk. Try -DPYTHON_EXECUTABLE=python (or path to python in the sdk) Philip On 2/21/20 1

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Ivan Iudice
How can I force canale to use python 2.7? I tried configuring as in: https://pastebin.com/EZfNkcGy Cmake said that 3.5 is required, but finished configuring; anyway I compiled and installed, but nothing changed. Ivan > Il giorno 21 feb 2020, alle ore 16:22, Philip Balister > ha scritto: > > 

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Philip Balister
On 2/21/20 3:21 AM, Ivan Iudice wrote: > Hi all, > gnuradio-companion calls the interpreter > #!/usr/bin/env python > Thus, the first python in the path is Python 2.7. > Is gnuradio using python 2.7? Yes, try convincing cmake to use python2 for your OOT. Philip > > Ivan > >> Il giorno 20 feb 2

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-21 Thread Ivan Iudice
Hi all, gnuradio-companion calls the interpreter #!/usr/bin/env python Thus, the first python in the path is Python 2.7. Is gnuradio using python 2.7? Ivan > Il giorno 20 feb 2020, alle ore 20:51, Philip Balister > ha scritto: > > Try: > > $ less `which gnuradio-companion` > > And see which

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread Philip Balister
Try: $ less `which gnuradio-companion` And see which python interpreter gnuradio-companion uses. Hopefully someone from Ettus support knows for sure and can help with the OOT. Your OOT looks like it is using python3 Philip On 2/20/20 2:41 PM, Müller, Marcus (CEL) wrote: > Hi Ivan, > > GNU Rad

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread CEL
Hi Ivan, GNU Radio 3.7: Python2 GNU Radio 3.8: Py2 XOR Py3 GNU Radio >3.8: Py3 On Thu, 2020-02-20 at 19:35 +0100, Ivan Iudice wrote: > Your help is very welcome! > I’m sorry for the stupid question, however, how can I know which version of > python is used by gnuradio? > > Ivan > > > Il giorno

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread Ivan Iudice
Your help is very welcome! I’m sorry for the stupid question, however, how can I know which version of python is used by gnuradio? Ivan > Il giorno 20 feb 2020, alle ore 19:22, Philip Balister > ha scritto: > > On 2/20/20 11:25 AM, Ivan Iudice wrote: >> Hi Philip! >> I only have site-package

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread Philip Balister
On 2/20/20 11:25 AM, Ivan Iudice wrote: > Hi Philip! > I only have site-package folder in both python2.7 and python3.5 lib folders, > no dist-package. > The problem is that in python3.5/site-package there is not numpy, it’s only > in python2.7/site-package. > Is it not installed for python3? How

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread Ivan Iudice
Hi Philip! I only have site-package folder in both python2.7 and python3.5 lib folders, no dist-package. The problem is that in python3.5/site-package there is not numpy, it’s only in python2.7/site-package. Is it not installed for python3? How can I install it in both the sdk sysroot and in the

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-20 Thread Philip Balister
I had some dist-packages versus site-packages with some versions of gnuradio. See if both exist. I'm betting numpy is in site-packages. Philip On 2/19/20 4:46 PM, Ivan Iudice wrote: > I’m curious to know if there is somebody in the list developing for E310 > using current SDK. > This is a proble

Re: [GNU Radio 3.8] Error loading modules on E310

2020-02-19 Thread Ivan Iudice
I’m curious to know if there is somebody in the list developing for E310 using current SDK. This is a problem that, obviously, everybody wants execute custom module could incur. Any ideas? Ivan > Il giorno 17 feb 2020, alle ore 17:31, kron...@tiscali.it ha scritto: > >  > Dear all, > finally

[GNU Radio 3.8] Error loading modules on E310

2020-02-17 Thread krono86
Dear all, finally I cross-compiled my OOT module for running on USRP E310. Based on the instructions at "https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source";, I set the environment variable PYTHONPATH a little bit different, to po