It is related to the python path resolution. If I go to the /usr/local/lib/python/site-packages/gnuradio it works. Moving to just one level higher and it does not.
It's the same location as the other gnuradio packages, very strange. Do you have any work arround? I copied the _howto.so to the working lib directory, made a pointer to it in PYTHONPATH and it's working. What is this .so file? Any better work arround? Original Message: ----------------- From: Eric Blossom [EMAIL PROTECTED] Date: Fri, 9 Dec 2005 15:38:46 -0800 To: [EMAIL PROTECTED], discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Howto Write a Block On Fri, Dec 09, 2005 at 06:19:24PM -0500, [EMAIL PROTECTED] wrote: > I am trying to make a new by following the gr-howto-write-a-block. I was > able to successfuly make myself a local directory structure with all the > required file and compile the howto_square(2)_ff.cc. > > I also so did a 'make check' in the src directory and it work good. > > Now the question is how do you make the new function available? Did you: $ make install What's your current directory when you try the import? Move up a directory or two. Python's got some screwy semantics on import path resolution that sometime causes problems. They're planning on fixing this sometime in the future, but it introduces an imcompatibility. http://www.python.org/peps/pep-0328.html Eric -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio