On Mon, Aug 18, 2008 at 9:41 PM, Randy Heiland <[EMAIL PROTECTED]> wrote:
> Python is looking for a module literally named "my_new_package".  You should
> simply substitute "my_new_package" with whatever Python module/file (e.g.
> cool_block.py) that you write.  And you might want to create/keep your
> module in a local directory and simply append that directory path to your
> PYTHONPATH environment variable.
>

Right, but I think the package is literally named "my_new_package"
"/usr/local/lib/python2.4/site-packages/gnuradio/" is in my PYTHONPATH;
In that directory I have the following (from make install)
_my_new_package.la
_my_new_package.so
my_new_package.py
my_new_package.pyc
my_new_package.pyo

My .i file specified the module as
"GR_SWIG_BLOCK_MAGIC(my_new_package,tx_encoder)"

As for appending to PYTHONPATH, I tried that first and got the same
error, so I figured a make install would fix it.

Is there something that I need to update a file somewhere so python
can find these?

Lastly, if I do change the new module later, is it sufficient to
simply 'make install' again (overwrite), or do I have to make
uninstall the old module before I edit it?

Thanks
Jason


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to