Hello Barry:

You will have to check the Python version used for GNU Radio. GNU Radio 3.7 
uses Python 2, and GNU Radio 3.8 (no stable release yet) supports Python 2 and 
Python 3. Maybe your apt command installed Mako, but for a wrong version of 
Python.


If you want to build GNU Radio from scratch, there's a bit outdated Wiki 
document for Ubuntu. Maybe you can get that working on Debian with a bit of 
tinkering. ( https://wiki.gnuradio.org/index.php/UbuntuInstall )



________________________________
보낸 사람: Barry Duggan <[email protected]> 대신 Discuss-gnuradio 
<[email protected]>
보낸 날짜: 2019년 7월 1일 월요일 오전 9:34:38
받는 사람: sumit kumar
참조: Discuss Gnuradio
제목: Re: [Discuss-gnuradio] PyBOMBS.install_manager - Error installing package 
uhd.

Thanks, but that didn't work either:
pi@raspberrypi:~ $ sudo apt install python-mako
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-mako is already the newest version (1.0.7+ds1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and I still got the same errors:
-- Python checking for Mako templates 0.4.2 or greater
-- Python checking for Mako templates 0.4.2 or greater - "import mako"
failed
etc.

Would I have better luck if I cloned gnuradio and built it from scratch?

---
Barry Duggan


On 2019-06-30 18:38, sumit kumar wrote:
> sudo apt install python-mako will work.
> After this you will get some more errors on python related
> dependencies,
> like python-six etc , so manually install them.
>
>
> On Sun, 30 Jun 2019 at 13:55, Barry Duggan <[email protected]> wrote:
>
>> Last evening I:
>> -   downloaded Rasbian 'buster' using Torrent
>> -   built new SD card with Raspian
>> on raspberryPi, I followed instructions from
>> https://wiki.gnuradio.org/index.php/InstallingGR#Using_PyBOMBS :
>>    sudo apt-get install python-pip
>>    sudo pip install pybombs
>>    pybombs auto-config
>>    pybombs recipes add-defaults
>>    pybombs prefix init ~/gnuradio -R gnuradio-default
>>
>> and got the following errors:
>> -- Python checking for Python version 2.7 or greater
>> -- Python checking for Python version 2.7 or greater - found
>> --
>> -- Python checking for Mako templates 0.4.2 or greater
>> -- Python checking for Mako templates 0.4.2 or greater - "import mako"
>> failed
>> --
>> -- Python checking for requests 2.0 or greater
>> -- Python checking for requests 2.0 or greater - found
>> --
>> -- Python checking for numpy 1.7 or greater
>> -- Python checking for numpy 1.7 or greater - found
>> --
>> -- Configuring LibUHD support...
>> --   Dependency Boost_FOUND = 1
>> --   Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
>> --   Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
>> CMake Error at cmake/Modules/UHDComponent.cmake:59 (message):
>>    Dependencies for required component LibUHD not met.
>> Call Stack (most recent call first):
>>    CMakeLists.txt:392 (LIBUHD_REGISTER_COMPONENT)
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "/home/pi/gnuradio/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
>> See also
>> "/home/pi/gnuradio/src/uhd/host/build/CMakeFiles/CMakeError.log".
>> PyBOMBS.Packager.source - ERROR - Configuration failed after running
>> at
>> least twice.
>> PyBOMBS.Packager.source - ERROR - Problem occurred while building
>> package uhd:
>> Configuration failed
>> PyBOMBS.install_manager - ERROR - Error installing package uhd.
>> Aborting.
>>
>> What is 'Mako'? Is that something I should download?
>>
>> Thanks,
>> --
>> Barry Duggan
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
> --
> Sumit Kumar

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to