參考:https://github.com/gnuradio/pybombs
先裝:pip
然后:
pip install PyBOMBS
更新源:
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
使用官方默認參數安裝:
pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
此時,所有依賴會安裝到 ~/prefix 目錄下
然后。。。報錯了,你懂的,中國國內的網絡不好。
直接刪掉 ~/prefix 目錄,
給git添加代理:
git config --global http.proxy 'socks5://127.0.0.1:1080' git config --global https.proxy 'socks5://127.0.0.1:1080'
重新安裝:
pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
即可。
