discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems about Installing multiple versions of gnuradio


From: CEL
Subject: Re: problems about Installing multiple versions of gnuradio
Date: Thu, 14 Nov 2019 13:08:12 +0000

You probably have conflicting configuration about paths in ~/.gnuradio;
hard to say, actually.

Generally, when installing in separate prefixes, it's no good idea to
have both prefixes in LD_LIBRARY_PATH etc at the same time - for any
given process, only one should be in there. That's no technical
challenge, though, since environment variables are always just
inherented from the spawning parent process.

Best regards,
Marcus

On Thu, 2019-11-14 at 17:16 +0800, mangrove_forest wrote:
>  I want to install two versions of gnuradio on one machine. I first installed 
> gnuradio 3.7 in default directory /usr/local/(and it works normally), and 
> then installed the gnuradio 3.9 in the directory /opt/gnuradio. But the 
> gnuradio 3.7 can't run again,as follows:
> $ gnuradio-companion
> Traceback (most recent call last):
> File "/usr/local/bin/gnuradio-companion", line 99, in
> run_main()
> File "/usr/local/bin/gnuradio-companion", line 92, in run_main
> exit(main())
> File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/main.py", line 51, 
> in main
> install_prefix=gr.prefix()
> File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Platform.py", 
> line 38, in init
> _Platform.init(self, *args, **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/core/Platform.py", 
> line 75, in init
> self.build_block_library()
> File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/core/Platform.py", 
> line 175, in build_block_library
> hide_bokeh_gui_options_if_not_installed(self.blocks['options'])
> File 
> "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/core/utils/odict.py", 
> line 35, in getitem
> return self._data[key]
> KeyError: 'options'
> what can i do??????????
> 
> 
> when i run gnuradio 3.9 in the directory /opt/gnuradio/bin as follows, it 
> runs:
> $export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gnuradio/lib
> $export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnuradio/lib/pkgconfig
> $export PYTHONPATH=$PYTHONPATH:/opt/gnuradio/lib/python3.6/dist-packages
> $cd /opt/gnuradio/bin
> $ ./gnuradio-companion
> <<< Welcome to GNU Radio Companion 3.9.0.0-git >>>
> Block paths:
> /opt/gnuradio/share/gnuradio/grc/blocks

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]