Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pybombs mako problem #45

Closed
jamisxom opened this issue Sep 16, 2015 · 15 comments
Closed

Pybombs mako problem #45

jamisxom opened this issue Sep 16, 2015 · 15 comments

Comments

@jamisxom
Copy link

Hi, I've been unable to use pybombs to install UHD or anything that depends on UHD.

I'm starting fresh on a brand new installation of Ubuntu 14.04.
I've pulled the latest pybombs from git.

The issue is possibly something to do with Mako, although I've tried after installing mako using both pybombs
./pybombs install mako
which reports that I have mako and that the version is recent enough.
When that didn't work, I uninstalled mako using pybombs and then reinstalled it from the repositories:
sudo apt-get install python-mako
and still have the same problem.
Pybombs has been able to install other recipies that don't seem to depend on UHD. I've found a few posts about similar problems but most seem to have been solved by installing mako, which hasn't worked for me.
Does anyone have any suggestions?

In the meantime, I've gone ahead and installed gnuradio and uhd using apt-get. Does that potentially conflict with the use of pybombs?

-- 
-- Python checking for Python version 2.6 or greater
-- Python checking for Python version 2.6 or greater - found
-- 
-- Python checking for Mako templates 0.4 or greater
-- Python checking for Mako templates 0.4 or greater - "import mako" failed
-- 
-- 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:51 (MESSAGE):
  Dependencies for required component LibUHD not met.
Call Stack (most recent call first):
  CMakeLists.txt:279 (LIBUHD_REGISTER_COMPONENT)
@mbr0wn
Copy link
Contributor

mbr0wn commented Sep 16, 2015

@jamisxom, this doesn't look like a UHD bug, rather a path setup problem. I recommend you take this to the mailing list, so we can get a conversation going to fix your problem. In the meantime, I'll be closing this issue.

@mbr0wn mbr0wn closed this as completed Sep 16, 2015
@mbr0wn
Copy link
Contributor

mbr0wn commented Sep 16, 2015

When you do contact the mailing list, show us the output of

$ python -c 'import mako'

@robincoxe
Copy link
Contributor

I encountered the same issue. I attempted to re-install python-mako with:
sudo apt-get install python-mako --reinstall
To no avail. However, it magically worked after I tried Plan B:
$ pip install mako

@phelpsw
Copy link

phelpsw commented Jun 21, 2018

This just occurred for me on a fresh ubuntu install as well. pip install mako fixed the issue. Aren't these dependencies what pybombs is supposed to be handling?

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 22, 2018

It should yes. Which Ubuntu? Which Pybombs?

@ndandanov
Copy link

ndandanov commented Jun 23, 2018

I just encountered the same issue on a fresh Ubuntu 18.04 x64 install while trying to install gnuradio using the official PyBOMBS recipe.
pip install mako and sudo apt-get install python-mako seem to have resolved it. I will report later if any other issues occur.

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 25, 2018

@ndandanov Which PyBOMBS version did you use? Did you install via pip $ pip install pybombs or from source?

@ndandanov
Copy link

@mbr0wn I installed it via pip. Then I read that this issue has been fixed and installed from source.

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 26, 2018

Did that fix it?

@ndandanov
Copy link

Sorry, I think I switched to the latest source for another bug which popped up later during the installation.
I can try to replicate the issue in a fresh Ubuntu install however :) That would be no problem for me.

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 28, 2018

No that's fine! It seems to work with the latest pip though.

@hz5612777
Copy link

I have encountered the same problem, even if mako is properly installed, it is still useless. I found it is a version issue. UHD called the python3 version, so pip should correspond to python3. When I use pip3 install mako, the problem is solved.

@jarvisAUT
Copy link

I have encountered the same problem, even if mako is properly installed, it is still useless. I found it is a version issue. UHD called the python3 version, so pip should correspond to python3. When I use pip3 install mako, the problem is solved.

Solved it for me.

@cbdonohue
Copy link

Should Pybombs be updated to avoid this?

@mbr0wn
Copy link
Contributor

mbr0wn commented Sep 22, 2019

PyBOMBS has been updated on master branch to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants