Closed nils-werner closed 1 year ago
This is one way in which the GNU Radio conda package is patched: it ignores the global_blocks_path
setting in the config file and looks in its installation prefix. You have that setting because of (presumably) building GNU Radio yourself and installing it into /usr/local/share
, but someone who has only used the conda package should not have any line like that in their config file. Regardless, conda-gnuradio should ignore it. Are you finding that it isn't? If you need to point to a different block location, you can still use local_blocks_path
.
Ah intersting, $CONDA_PREFIX/etc/gnuradio/conf.d/grc.conf
indeed does not have that line, but the output of gnuradio-config-info --prefs
shows that value regardless...
The GNU Radio config system is a bit of a mess when it comes to multiple installations, e.g. https://github.com/gnuradio/gnuradio/pull/4504#issuecomment-816123195. It will still show up in gnuradio-config-info --prefs
because it's still in your local config file like you noted, but in the conda case the code has been modified to not read that config variable so it should work fine.
The Global Blocks Path preference is set to the system wide
/usr/local/share
directory:I believe it should be set to be inside the environment: