[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Radio 3.8] Error loading modules on E310
From: |
Ivan Iudice |
Subject: |
Re: [GNU Radio 3.8] Error loading modules on E310 |
Date: |
Thu, 20 Feb 2020 17:25:14 +0100 |
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 target?
Thanks so much.
Ivan
> Il giorno 20 feb 2020, alle ore 17:05, Philip Balister <address@hidden> ha
> scritto:
>
> 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 problem that, obviously, everybody wants execute custom module
>> could incur.
>> Any ideas?
>>
>> Ivan
>>
>>>> Il giorno 17 feb 2020, alle ore 17:31, address@hidden ha scritto:
>>>
>>>
>>> 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 point
>>> the path of the installed OOT module:
>>>
>>> export PYTHONPATH=$LOCALPREFIX/lib/python3.5/dist-packages:$PYTHONPATH
>>>
>>> Such a way, on the target I can load my custom module in python.
>>> root@ni-e31x-316AFEA:~# python3 -c "import custom_mod"
>>> I created a flowgraph that use my OOT module, and I discovered in the newer
>>> file system for E310 python3 has not all of the needed libraries.
>>> root@ni-e31x-316AFEA:~# ./top_block.py
>>> Traceback (most recent call last):
>>> File "./top_block.py", line 12, in <module>
>>> from gnuradio import blocks
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/gnuradio/blocks/__init__.py",
>>> line 38, in <module>
>>> from .stream_to_vector_decimator import *
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/gnuradio/blocks/stream_to_vector_decimator.py",
>>> line 23, in <module>
>>> from gnuradio import gr
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/gnuradio/gr/__init__.py",
>>> line 46, in <module>
>>> from .top_block import *
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/gnuradio/gr/top_block.py",
>>> line 32, in <module>
>>> from .hier_block2 import hier_block2
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/gnuradio/gr/hier_block2.py",
>>> line 26, in <module>
>>> import pmt
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/pmt/__init__.py",
>>> line 61, in <module>
>>> from .pmt_to_python import pmt_to_python as to_python
>>> File
>>> "/home/root/localinstall/usr/lib/python3.5/dist-packages/pmt/pmt_to_python.py",
>>> line 23, in <module>
>>> import numpy
>>> ImportError: No module named 'numpy'
>>> How could I solve the problem?
>>> I'm so close to run my OOT modules on the target...
>>> Thanks so much.
>>> Ivan
>>>
>>>
>>>
>>> Con Tiscali Mobile Smart 30 4G hai minuti illimitati, 100 SMS e 30 Giga in
>>> 4G a soli 8,99€ al mese. http://tisca.li/smart30
>>>
>>
- [GNU Radio 3.8] Error loading modules on E310, krono86, 2020/02/17
- Re: [GNU Radio 3.8] Error loading modules on E310, Ivan Iudice, 2020/02/19
- Re: [GNU Radio 3.8] Error loading modules on E310, Philip Balister, 2020/02/20
- Re: [GNU Radio 3.8] Error loading modules on E310,
Ivan Iudice <=
- Re: [GNU Radio 3.8] Error loading modules on E310, Philip Balister, 2020/02/20
- Re: [GNU Radio 3.8] Error loading modules on E310, Ivan Iudice, 2020/02/20
- Re: [GNU Radio 3.8] Error loading modules on E310, CEL, 2020/02/20
- Re: [GNU Radio 3.8] Error loading modules on E310, Philip Balister, 2020/02/20
- Re: [GNU Radio 3.8] Error loading modules on E310, Ivan Iudice, 2020/02/21
- Re: [GNU Radio 3.8] Error loading modules on E310, Philip Balister, 2020/02/21
- Re: [GNU Radio 3.8] Error loading modules on E310, Ivan Iudice, 2020/02/21
- Re: [GNU Radio 3.8] Error loading modules on E310, Philip Balister, 2020/02/21
- Re: [GNU Radio 3.8] Error loading modules on E310, Ivan Iudice, 2020/02/21
- Re: [GNU Radio 3.8] Error loading modules on E310, CEL, 2020/02/21