Thanks Stuart! I’ll give that a try. 

> On Apr 2, 2024, at 1:17 AM, Stuart Austin 
> <saus...@criticalsoftwaresystems.com> wrote:
> 
> 
> ssh into the radio
> run python
>  
> >>> import sys
> >>> sys.path  
> ['', '/usr/lib/python37.zip', '/usr/lib/python3.7', 
> '/usr/lib/python3.7/lib-dynload', '/usr/lib/python3.7/site-packages']
> >>> quit()
> For each path reported by sys.path, search for the gnuradio package, on my 
> radio it shows up here:
> 
> root@ni-e31x-313C4FB:~# find /usr/lib/python3.7 -iname gnu\*
> /usr/lib/python3.7/dbm/gnu.py
> /usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.pyc
> /usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.opt-2.pyc
> /usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.opt-1.pyc
> /usr/lib/python3.7/site-packages/gnuradio
> /usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.py
> /usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.pyo
> /usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.pyc
> /usr/lib/python3.7/site-packages/numpy/distutils/fcompiler/gnu.py
> /usr/lib/python3.7/site-packages/numpy/distutils/fcompiler/__pycache__/gnu.cpython-37.pyc
>  
> so either:
> ·         you don’t have gnuradio in site-packages
> ·         site-package/gnuradio isn’t in your Python path
>  
> I burned this image to my e310 literally in the last couple days, I used 
> uhd_images_downloader and just burned whatever it gave me onto the SD card. 
>  
> I think it’s possible you could use Python/pip to install the gnuradio 
> package directly from your ssh session – just like installing any Python 
> package?
>  
> Cheers
> Stuart
>  
>  
> From: d...@hawaii.edu [mailto:d...@hawaii.edu]
> Sent: Tuesday, April 02, 2024 4:04 AM
> To: usrp-users@lists.ettus.com
> Subject: [USRP-users] Issues running generated GNU Radio ".py" file on E310 
> (Embedded Mode)
>  
> I’m trying to run my “.py” file that I generated from GNU Radio (Host Laptop) 
> onto my E310 (locally via SSH@root) but I'm getting a error saying:
> 
> "ImportError: No module named gnuradio".
> 
> I’m currently using a newly flashed a SD image 
> (e3xx_e310_sg3_sdimg_default-v4.4.0.0-rc1). From a version check it shows 
> that both UHD and GNU Radio is installed on my E310 image. But for some 
> reason it doesn’t recognize the gnuradio-companion command on terminal. Is 
> there something I need to make this work?
> 
> Current E310 Info/Version
> 
> SDR Image: e3xx_e310_sg3_sdimg_default-v4.4.0.0-rc1
> 
> GNU Radio: v 3.8.0.0
> 
> UHD: v4.4.0.0-0-g5fac246b
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to