# Cannot find gnuradio companion

**URL:** <https://www.ruby-forum.com/t/cannot-find-gnuradio-companion/234612>\
**Category:** GNU Radio\
**Created:** [March 17, 2015, 6:36pm UTC](https://www.ruby-forum.com/t/cannot-find-gnuradio-companion/234612 "2015-03-17T18:36:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [March 17, 2015, 6:36pm UTC](https://www.ruby-forum.com/t/cannot-find-gnuradio-companion/234612/1 "2015-03-17T18:36:34Z")

</div>

Hello ALL,

I encountered one problem during installing GNU Radio on ubuntu 14.04 .  
I attached the whole installation log . Could someone help me with  
this? Thanks in advance.

I used the script from the link below to install Gnuradio :  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource#Using-the-build-gnuradio-script](http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource#Using-the-build-gnuradio-script)

Following is the log installing GNU Radio, I set the PYTHONPATH , but  
still cannot find gnuradio companion.  
echodtx@echodtx-VirtualBox:~$ export  
PYTHONPATH=/usr/local/lib/python2.7/dist-packages  
echodtx@echodtx-VirtualBox:~/gnuradio$ gnuradio-companion  
bash: /usr/bin/gnuradio-companion: No such file or directory

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
.Installing  
Done building and installing Gnu Radio  
GRC freedesktop icons install …Done  
Done function gnuradio\_build at: di mrt 17 16:31:11 CET 2015  
Starting function rtl\_build at: di mrt 17 16:31:11 CET 2015  
Building rtl-sdr…Done building rtl-sdr  
Building hackrf…Done building hackrf  
Building gr-iqbal…gr-iqbal build apparently failed  
Exiting gr-iqbal build  
Building gr-osmosdr…Done building gr-osmosdr  
Done building/installing rtl-sdr/gr-osmosdr  
Done function rtl\_build at: di mrt 17 16:34:24 CET 2015  
Starting function extras at: di mrt 17 16:34:24 CET 2015  
Doing GIT checkout for extra module gr-baz  
Building extra module gr-baz  
Doing GIT checkout for extra module grextras  
Building extra module grextras  
Done function extras at: di mrt 17 16:34:38 CET 2015  
Starting function mod\_groups at: di mrt 17 16:34:38 CET 2015  
Group ‘usrp’ already in /etc/group  
User echodtx already in group ‘usrp’  
Done function mod\_groups at: di mrt 17 16:34:38 CET 2015  
Starting function mod\_udev at: di mrt 17 16:34:38 CET 2015  
udevd: no process found  
Done function mod\_udev at: di mrt 17 16:34:39 CET 2015  
Starting function mod\_sysctl at: di mrt 17 16:34:39 CET 2015  
Required updates to /etc/sysctl.conf already in place  
usrp group already has real-time scheduling privilege  
Done function mod\_sysctl at: di mrt 17 16:34:39 CET 2015  
Starting function pythonpath at: di mrt 17 16:34:39 CET 2015

* * *

You should probably set your PYTHONPATH to:

```
 /usr/local/lib/python2.7/dist-packages

```

Using:

export PYTHONPATH=/usr/local/lib/python2.7/dist-packages

in your .bashrc or equivalent file prior to attempting to run  
any Gnu Radio applications or Gnu Radio Companion.

* * *

Done function pythonpath at: di mrt 17 16:34:39 CET 2015  
Done all functions at: di mrt 17 16:34:39 CET 2015  
All Done

# ======================================================================= If you have found this script useful and time-saving, consider a donation to help me keep build-gnuradio, simple\_ra, SIDsuite, meteor\_detector, simple\_fm\_rcv, and multimode maintained and up to date. A simple paypal transfer to removed\_email\_address@domain.invalid is all you need to do.

Send success/fail info to [Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini](http://sbrac.org?echodtx@echodtx-VirtualBox:~$)

---

<div class="post-metadata">

**Author:** ![Tianxiao\_Dong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c6cbf5/32.png) [@Tianxiao\_Dong](https://www.ruby-forum.com/u/Tianxiao_Dong)\
**Post date:** [March 17, 2015, 6:42pm UTC](https://www.ruby-forum.com/t/cannot-find-gnuradio-companion/234612/2 "2015-03-17T18:42:31Z")

</div>

I’m going to guess that you have leftover “stuff” from a different  
attempt to install Gnu Radio, because there’s  
a file in /usr/bin/gnuradio-companion that is either a  
symlink-to-nowhere, or it’s pointing to a Python install that doesn’t  
exist.

Now, normally, build-gnuradio uninstalls (via your package manager) any  
existing Gnu Radio install, but if the package manager doesn’t know  
about some file (like the /usr/bin/gnuradio-companion) that is  
apparently installed, it has no way of removing it.

On 2015-03-17 13:33, Tianxiao Dong wrote:

> bash: /usr/bin/gnuradio-companion: No such file or directory  
> Exiting gr-iqbal build  
> Group ‘usrp’ already in /etc/group
> 
> # any Gnu Radio applications or Gnu Radio Companion.
> 
> Send success/fail info to [Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini](http://sbrac.org?echodtx@echodtx-VirtualBox:~$)
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio) [1]

Links:

---

<div class="post-metadata">

**Author:** ![Tianxiao\_Dong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c6cbf5/32.png) [@Tianxiao\_Dong](https://www.ruby-forum.com/u/Tianxiao_Dong)\
**Post date:** [March 17, 2015, 6:56pm UTC](https://www.ruby-forum.com/t/cannot-find-gnuradio-companion/234612/3 "2015-03-17T18:56:56Z")

</div>

Dear Dong Tian Xiao,

Still the best solution (for me) was to install to a clean OS otherwise  
you  
might run endlessly about it.

Instalation to a clean Ubuntu 14.04 via Pybombs was fast and smooth. I  
might have a more detail description, if needed, let me know.

Best regards,

Iluta

On Tuesday, March 17, 2015, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m going to guess that you have leftover “stuff” from a different  
> attempt to install Gnu Radio, because there’s  
> a file in /usr/bin/gnuradio-companion that is either a  
> symlink-to-nowhere, or it’s pointing to a Python install that doesn’t  
> exist.
> 
> Now, normally, build-gnuradio uninstalls (via your package manager) any  
> existing Gnu Radio install, but if the package manager doesn’t know  
> about  
> some file (like the /usr/bin/gnuradio-companion) that is apparently  
> installed, it has no way of removing it.
> 
> On 2015-03-17 13:33, Tianxiao Dong wrote:
> 
> Hello ALL,
> 
> I encountered one problem during installing GNU Radio on ubuntu 14.04 .  
> I attached the whole installation log . Could someone help me with  
> this?  
> Thanks in advance.
> 
> I used the script from the link below to install Gnuradio :  
> [http://gnuradio.org/redmine/projects/gnc](http://gnuradio.org/redmine/projects/gnc)  
> uradio/wiki/InstallingGRFromSource#Using-the-build-gnuradio-script
> 
> Following is the log installing GNU Radio, I set the PYTHONPATH , but  
> still cannot find gnuradio companion.  
> echodtx@echodtx-VirtualBox:~$ export  
> PYTHONPATH=/usr/local/lib/python2.7/dist-packages
