Okay, so I've got the randsig signal processing block made and installed. Furthermore, the test python file (qa_randsig.py) functions successfully. But when I try to implement it in a different *.py file (usrp_randsiggen.py), I get this: Traceback (most recent call last): File "./usrp_randsiggen.py", line 4, in <module> import randsig ImportError: No module named randsig Searching through the posts here, I've found other topics similar to this, but they didn't pass the QA testing while mine did. I've double-checked that the required files were indeed added to usr/local/lib/python2.5/site-packages/gnuradio. And if pythonpath weren't configured properly, I'd be having far more problems than just this not working. I've attempted using the line "from gnuradio import randsig" and just "import randsig" (the latter of which worked for my QA file). So what else would be causing this? here are the two *.py files, if helpful. http://www.nabble.com/file/p20283794/qa_randsig.py qa_randsig.py http://www.nabble.com/file/p20283794/usrp_randsiggen.py usrp_randsiggen.py ~ Francesco -- View this message in context: http://www.nabble.com/ImportError%3A-No-module-nam... Sent from the GnuRadio mailing list archive at Nabble.com.
on 2008-11-01 21:35