Tuesday, November 29, 2011

Re: [Discuss-gnuradio] can not import digital_swig for the example of pkt.py

Hi Josh,

I have no d8psk*, dbpsk*, modulation_utils2*.
Which branch do you use for this?

On Tue, Nov 29, 2011 at 1:30 PM, Josh Blum <josh@joshknows.com> wrote:


On 11/29/2011 01:40 AM, Alex Zhang wrote:
> I am using the this example to test the installed next branch of josh:
>
> http://gnuradio.org/cgit/jblum.git/tree/gr-digital/python/pkt2.py?h=next
>
> How ever, the digital_swig is not recognized. And I also checked the
> changeset at http://gnuradio.org/redmine/projects/gnuradio/wiki/ChangeSets
>
> Nothing related is found.
>
>
> Traceback (most recent call last):
>   File "./pkt2.py", line 23, in <module>
>     import digital_swig
> ImportError: No module named digital_swig
>
> Can someone tell me where to find this package now?
>
>
>
Here is my digital python directory, what is yours missing that mine has?

> ls /usr/local/lib/python2.7/dist-packages/gnuradio/digital/
> bpsk.py                _digital_swig.la       __init__.py            ofdm.pyo               ofdm_sync_pn.py        psk2.pyc
> bpsk.pyc               digital_swig.py        __init__.pyc           ofdm_receiver.py       ofdm_sync_pn.pyc       psk.py
> bpsk.pyo               digital_swig.pyc       __init__.pyo           ofdm_receiver.pyc      ofdm_sync_pn.pyo       psk.pyc
> cpm.py                 digital_swig.pyo       modulation_utils2.py   ofdm_receiver.pyo      packet_utils.py        psk.pyo
> cpm.pyc                _digital_swig.so       modulation_utils2.pyc  ofdm_sync_fixed.py     packet_utils.pyc       qam.py
> cpm.pyo                dqpsk.py               modulation_utils.py    ofdm_sync_fixed.pyc    packet_utils.pyo       qam.pyc
> crc.py                 dqpsk.pyc              modulation_utils.pyc   ofdm_sync_fixed.pyo    pkt2.py                qam.pyo
> crc.pyc                generic_mod_demod.py   modulation_utils.pyo   ofdm_sync_ml.py        pkt2.pyc               qpsk.py
> crc.pyo                generic_mod_demod.pyc  ofdm_packet_utils.py   ofdm_sync_ml.pyc       pkt2.pyo               qpsk.pyc
> d8psk.py               generic_mod_demod.pyo  ofdm_packet_utils.pyc  ofdm_sync_ml.pyo       pkt.py                 qpsk.pyo
> d8psk.pyc              gmsk.py                ofdm_packet_utils.pyo  ofdm_sync_pnac.py      pkt.pyc                utils/
> dbpsk.py               gmsk.pyc               ofdm.py                ofdm_sync_pnac.pyc     pkt.pyo
> dbpsk.pyc              gmsk.pyo               ofdm.pyc               ofdm_sync_pnac.pyo     psk2.py


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--

Alex,
Dreams can come true – just believe.

No comments:

Post a Comment