[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Python blocks in a new package
From: |
Ed Criscuolo |
Subject: |
Re: [Discuss-gnuradio] Python blocks in a new package |
Date: |
Wed, 21 Nov 2007 22:59:06 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 |
Eric Blossom wrote:
You need to install an empty __init__.py in to your tdrss_utils
directory.
I already have an empty __init__.py there. I did find why I
wasn't getting the .pyc & .pyo files. There was a syntax error in
my python block, but the error was geting lost in the huge voulme
of stuff that comes out during a make!
I fixed it, and I now end up with .py, .pyc, and .pyo files for
both __init__ and gold_code_pn_source_b installed in the
.../site-packages/gnuradio/tdrss_utils/ directory.
But when I write any python code containing
from gnuradio import tdrss_utils
...
...
...
pn = tdrss_utils.gold_code_pn_source_b(11, 1, 1, 1, 1)
I still get the error
AttributeError: 'module' object has no attribute
'gold_code_pn_source_b'
Any other ideas? I'm stumped!
- [Discuss-gnuradio] Python blocks in a new package, Ed Criscuolo, 2007/11/20
- Re: [Discuss-gnuradio] Python blocks in a new package, Johnathan Corgan, 2007/11/20
- Re: [Discuss-gnuradio] Python blocks in a new package, Ed Criscuolo, 2007/11/20
- Re: [Discuss-gnuradio] Python blocks in a new package, Eric Blossom, 2007/11/20
- Re: [Discuss-gnuradio] Python blocks in a new package,
Ed Criscuolo <=
- Re: [Discuss-gnuradio] Python blocks in a new package, Eric Blossom, 2007/11/22
- Re: [Discuss-gnuradio] Python blocks in a new package, Ed Criscuolo, 2007/11/27
- Re: [Discuss-gnuradio] Python blocks in a new package, Eric Blossom, 2007/11/27
- Re: [Discuss-gnuradio] Python blocks in a new package, Ed Criscuolo, 2007/11/27