[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] No module name gnuradio
From: |
Lee Patton |
Subject: |
Re: [Discuss-gnuradio] No module name gnuradio |
Date: |
Mon, 24 Oct 2005 18:19:02 -0400 |
Find the directory containing the library file:
>find ~ -iname libwx_gtk2d_xrc-2.6.so.0
It is probably in /home/mrobitaille/gr/lib/
Make sure that directory is in the environment variable LD_LIBRARY_PATH
>echo $LD_LIBRARY_PATH
If it is not, set it in your .bashrc file, and source the file.
I just got the install working myself. You can see my install scripts
(modified versions of KD7LMO's) and install notes at:
https://svn.pattoncentral.org/websvn/public (click gnuradio_install)
The files are also available for anonymous svn checkout with
>svn checkout --username https://svn.pattoncentral.org/gr_install
Hope that helps.
On Mon, 2005-10-24 at 15:49 -0600, Robitaille, Michael wrote:
> Getting closer,
>
>
>
> Thanks Lamar, I did not know that PYTHONPATH needed to be an environment
> variable.
>
>
>
> I am now getting different error message when running usrp_oscope.py
>
>
>
> address@hidden usrp]$ sudo ./usrp_oscope.py
>
> Traceback (most recent call last):
>
> File "./usrp_oscope.py", line 30, in ?
>
> from gnuradio.wxgui import stdgui, fftsink, scopesink
>
> File
> "/home/mrobitaille/gr/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
> line 24, in ?
>
> import wx
>
> File
> "/home/mrobitaille/gr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/__init
> __.py", line 42, in ?
>
> from wx._core import *
>
> File
> "/home/mrobitaille/gr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.
> py", line 4, in ?
>
> import _core_
>
> ImportError: libwx_gtk2d_xrc-2.6.so.0: cannot open shared object file: No
> such file or directory
>
> address@hidden usrp]$
>
>
>
> Here is what is in the ../wx directory
>
>
>
> animate.py _controls.pyc gizmos.py _grid.so media.pyc _stc.so
> _windows.pyc
>
> animate.pyc _controls_.so gizmos.pyc html.py _media.so tools
> _windows_.so
>
> _animate.so _core.py _gizmos.so html.pyc _misc.py
> __version__.py wizard.py
>
> build _core.pyc glcanvas.py _html.so _misc.pyc
> __version__.pyc wizard.pyc
>
> calendar.py _core_.so glcanvas.pyc __init__.py _misc_.so
> webkit.py _wizard.so
>
> calendar.pyc _gdi.py _glcanvas.so __init__.pyc py
> webkit.pyc xrc.py
>
> _calendar.so _gdi.pyc grid.py lib stc.py
> _webkit.so xrc.pyc
>
> _controls.py _gdi_.so grid.pyc media.py stc.pyc
> _windows.py _xrc.so
>
>
>
> Eric, here are the output you asked:
>
>
>
> address@hidden ~]$ env | grep PYTHON
>
> PYTHONPATH=/home/mrobitaille/gr/lib/python2.4/site-packages:/home/mrobitaill
> e/gr/lib/python2.4/site-packages/Numeric:/usr/lib/python2.4/site-packages
>
>
>
> address@hidden ~]$ python
>
> Python 2.4.1 (#1, May 16 2005, 15:19:29)
>
> [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
>
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import sys
>
> >>> sys.path
>
> ['', '/home/mrobitaille/gr/lib/python2.4/site-packages',
> '/home/mrobitaille/gr/lib/python2.4/site-packages/Numeric',
> '/usr/lib/python2.4/site-packages', '/usr/lib/python24.zip',
> '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2',
> '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload',
> '/usr/lib/python2.4/site-packages/Numeric',
> '/usr/lib/python2.4/site-packages/gtk-2.0']
>
> >>> from gnuradio import gr
>
> >>>
>
>
>
> address@hidden ~]$ ls -l
> /home/mrobitaille/gr/lib/python2.4/site-packages/gnuradio/gr/_gnuradio_swig_
> python.*
>
> -rwxr-xr-x 1 mrobitaille mrobitaille 1019 Oct 24 13:57
> /home/mrobitaille/gr/lib/python2.4/site-packages/gnuradio/gr/_gnuradio_swig_
> python.la
>
> -rwxr-xr-x 1 mrobitaille mrobitaille 6233328 Oct 24 13:57
> /home/mrobitaille/gr/lib/python2.4/site-packages/gnuradio/gr/_gnuradio_swig_
> python.so
>
>
>
> address@hidden ~]$ ldd
> /home/mrobitaille/gr/lib/python2.4/site-packages/gnuradio/gr/_gnuradio_swig_
> python.so
>
> linux-gate.so.1 => (0x00e69000)
>
> libgnuradio-core.so.0 =>
> /home/mrobitaille/gr/lib/libgnuradio-core.so.0 (0x00461000)
>
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x009ca000)
>
> libm.so.6 => /lib/libm.so.6 (0x00b08000)
>
> libc.so.6 => /lib/libc.so.6 (0x005d6000)
>
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0031e000)
>
> librt.so.1 => /lib/librt.so.1 (0x00328000)
>
> libfftw3f.so.3 => /home/mrobitaille/gr/lib/libfftw3f.so.3
> (0x0033c000)
>
> /lib/ld-linux.so.2 (0x00445000)
>
> libpthread.so.0 => /lib/libpthread.so.0 (0x00403000)
>
> address@hidden ~]$
>
>
>
> Thanks,
>
> Mike
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Lee Patton
Research Assistant
Sensor-Aided Vigilance Center
Wright State University
233 Russ Engineering Center
3640 Colonel Glenn Highway
Dayton, OH 45435-0001
address@hidden
http://www.cs.wright.edu/ee/
- [Discuss-gnuradio] No module name gnuradio, Robitaille, Michael, 2005/10/22
- [Discuss-gnuradio] No module name gnuradio, Robitaille, Michael, 2005/10/22
- [Discuss-gnuradio] No module name gnuradio, Robitaille, Michael, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Robitaille, Michael, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio,
Lee Patton <=
- Re: [Discuss-gnuradio] No module name gnuradio, Lamar Owen, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Eric Blossom, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Eric Blossom, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Lamar Owen, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Robert McGwier, 2005/10/24
- Re: [Discuss-gnuradio] No module name gnuradio, Lamar Owen, 2005/10/24
- Re: [Discuss-gnuradio] RPMs, etc, Eric Blossom, 2005/10/24
- RE: [Discuss-gnuradio] No module name gnuradio, Berndt Josef Wulf, 2005/10/24
Re: [Discuss-gnuradio] No module name gnuradio, Robitaille, Michael, 2005/10/24