Dear Bastian, Yes, this solves all the problems. I just get the current commit and recompile, everything works ! Thank you very much.
On Thu, Jan 29, 2015 at 4:20 PM, Bastian Bloessl <bloe...@ccs-labs.org> wrote: > Either python3 is selected by cmake or (maybe) your swig version does not > work. The first problem should have been fixed with the most recent commit > (3 days ago). > > > On 29 Jan 2015, at 09:15, Activecat <active...@gmail.com> wrote: > > > > Dear Sir, > > > > Thank you very much for your prompt response. > > I really appreciate your help. > > > > Refer below result: > > > > > > sgku@mmu2: ~ $ ipython > > Python 2.7.3 (default, Mar 14 2014, 11:57:14) > > Type "copyright", "credits" or "license" for more information. > > > > IPython 0.13.1 -- An enhanced Interactive Python. > > ? -> Introduction and overview of IPython's features. > > %quickref -> Quick reference. > > help -> Python's own help system. > > object? -> Details about 'object', use 'object??' for extra details. > > > > > > In [1]: import ieee802_11 > > > --------------------------------------------------------------------------- > > ImportError Traceback (most recent call > last) > > <ipython-input-1-3c375f221e3a> in <module>() > > ----> 1 import ieee802_11 > > > > /usr/local/lib/python2.7/dist-packages/ieee802_11/__init__.py in > <module>() > > 35 > > 36 # import swig generated symbols into the test namespace > > ---> 37 from ieee802_11_swig import * > > 38 > > 39 # import any pure python here > > > > /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in > <module>() > > 24 fp.close() > > 25 return _mod > > ---> 26 _ieee802_11_swig = swig_import_helper() > > 27 del swig_import_helper > > 28 else: > > > > /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in > swig_import_helper() > > 20 if fp is not None: > > 21 try: > > ---> 22 _mod = imp.load_module('_ieee802_11_swig', fp, > pathname, description) > > 23 finally: > > 24 fp.close() > > > > ImportError: dynamic module does not define init function > (init_ieee802_11_swig) > > > > > > > > On Thu, Jan 29, 2015 at 4:02 PM, Bastian Bloessl <bloe...@ccs-labs.org> > wrote: > > Hi, > > > > > On 29 Jan 2015, at 08:37, Activecat <active...@gmail.com> wrote: > > > > > > error messages: > > > Param - Value(value): > > > Value "ieee802_11.wifi_signal_field()" cannot be evaluated: > > > name 'ieee802_11' is not defined > > > > > > > Please start an interactive python session and ‘import ieee802_11’. This > will give you more debug output. I guess either your $PYTHONPATH does not > contain the path of the module or some shared library can not be loaded. > > > > Best, > > Bastian > > > > -- > Dipl.-Inform. Bastian Bloessl > Distributed Embedded Systems Group > University of Paderborn, Germany > http://www.ccs-labs.org/~bloessl/ > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio