Forum: GNU Radio ImportError: No module named randsig

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7fc33270c8ea470963a751c3ef8c44d1?d=identicon&s=25 Francesco B. (Guest)
on 2008-11-01 20:35
(Received via mailing list)
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.
This topic is locked and can not be replied to.