[MacPorts] #45768: gnuradio @3.7.5.1_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui ImportError at launch of Gnuradio-companion
MacPorts
noreply at macports.org
Tue Nov 4 12:29:18 PST 2014
#45768: gnuradio
@3.7.5.1_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui
ImportError at launch of Gnuradio-companion
-------------------------------+-------------------------
Reporter: patrickmccanna@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Resolution: | Keywords:
Port: gnuradio |
-------------------------------+-------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => michaelld@…
* keywords: gnuradio-companion =>
* milestone: MacPorts Future =>
Old description:
> I recently updated to 10.9.5 and tried to get gnuradio properly working
> for use with a HackRF.
>
> Gnuradio-companion crashes out with the following error:
>
> ./gnuradio-companion
>
> Traceback (most recent call last):
> File "/opt/local/bin/gnuradio-companion", line 24, in <module>
> import gtk
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/gtk-2.0/gtk/__init__.py", line 30, in <module>
> import gobject as _gobject
> File "/usr/local/lib/python2.7/site-packages/gobject/__init__.py", line
> 26, in <module>
> from glib import spawn_async, idle_add, timeout_add,
> timeout_add_seconds, \
> File "/usr/local/lib/python2.7/site-packages/glib/__init__.py", line
> 22, in <module>
> from glib._glib import *
> ImportError: dlopen(/usr/local/lib/python2.7/site-packages/glib/_glib.so,
> 2): Library not loaded: /usr/local/lib/libgobject-2.0.0.dylib
> Referenced from: /usr/local/lib/python2.7/site-packages/glib/_glib.so
New description:
I recently updated to 10.9.5 and tried to get gnuradio properly working
for use with a HackRF.
Gnuradio-companion crashes out with the following error:
{{{
./gnuradio-companion
Traceback (most recent call last):
File "/opt/local/bin/gnuradio-companion", line 24, in <module>
import gtk
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/gtk-2.0/gtk/__init__.py", line 30, in <module>
import gobject as _gobject
File "/usr/local/lib/python2.7/site-packages/gobject/__init__.py", line
26, in <module>
from glib import spawn_async, idle_add, timeout_add,
timeout_add_seconds, \
File "/usr/local/lib/python2.7/site-packages/glib/__init__.py", line 22,
in <module>
from glib._glib import *
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/glib/_glib.so,
2): Library not loaded: /usr/local/lib/libgobject-2.0.0.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/glib/_glib.so
}}}
--
Comment:
Please remove the software you have installed in /usr/local. Having
software installed there can confuse MacPorts. After removing it, you may
need to rebuild affected MacPorts ports.
--
Ticket URL: <https://trac.macports.org/ticket/45768#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list