mac:/ david$ gnuradio-companion
Xlib: extension “RANDR” missing on display
“/tmp/launch-GQssJJ/org.x:0”.
Traceback (most recent call last):
File “/opt/local/bin/gnuradio-companion”, line 48, in
from gnuradio.grc.python.Platform import Platform
File
“/opt/local/lib/python2.6/site-packages/gnuradio/grc/python/Platform.py”,
line 22, in
from … base.Platform import Platform as _Platform
File
“/opt/local/lib/python2.6/site-packages/gnuradio/grc/base/Platform.py”,
line 26, in
from Block import Block as _Block
File
“/opt/local/lib/python2.6/site-packages/gnuradio/grc/base/Block.py”,
line 23, in
from Cheetah.Template import Template
ImportError: No module named Cheetah.Template
mac:/ david$
File “/opt/local/lib/python2.6/site-packages/gnuradio/grc/base/Platform.py”,
line 26, in
from Block import Block as _Block
File “/opt/local/lib/python2.6/site-packages/gnuradio/grc/base/Block.py”,
line 23, in
from Cheetah.Template import Template
ImportError: No module named Cheetah.Template
mac:/ david$
anyideas ?
Did you install cheetah templates? Is Cheetah in your PYTHONPATH, etc…
You may need something like this in your bashrc:
export
PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages:${PYTHONPATH}
If gnuradio-companion is installed by MacPorts (e.g.: “sudo port install
gnuradio-companion”, or “sudo port install gnuradio”), then Cheetah
should also be installed – and with the correct Python version to work
with GNU Radio. One can see this via “port installed | grep cheetah”
and then verify that the correct Python version is installed (in this
case, 2.6). - MLD
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.