Re: After building Gnuradio 3.8.1 from source , Cannot import gnuradio

2021-12-18 Thread Marcus Müller
Hi Stackprogrammer, sorry, we don't know where exactly you've installed things. As Jeff said, python2.7 sounds very suspicious and is likely not right, unless you went through the effort to build a Python2 GNU Radio (why? That's not usually what you want.) You'll need to check yourself whethe

Re: After building Gnuradio 3.8.1 from source , Cannot import gnuradio

2021-12-18 Thread Jeff Long
After I sent that, I saw the "3.8.1" in the subject. Still, use Python3, not Python2. On Sat, Dec 18, 2021 at 7:38 AM Jeff Long wrote: > GNU Radio 3.9+ uses Python 3 only, so the PYTHONPATH you are using will > not work. A simple test for your PYTHONPATH is: > > python3 -c "from gnuradio impor

Re: After building Gnuradio 3.8.1 from source , Cannot import gnuradio

2021-12-18 Thread Jeff Long
GNU Radio 3.9+ uses Python 3 only, so the PYTHONPATH you are using will not work. A simple test for your PYTHONPATH is: python3 -c "from gnuradio import gr ; print(gr.version()) ; print(gr.__file__)" If your path is set up correctly, this will show you the version and location of the GR python

After building Gnuradio 3.8.1 from source , Cannot import gnuradio

2021-12-18 Thread sp h
Hi, Before I installed Gnuradio from the binary package it works well. In Ubuntu 20.04 when I want to build Gnuradio from source, it not works... Terminal, I received the following message: *Cannot import gnuradio.* *Is the python path environment variable set correctly? * - All OS: PYTHO