[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] "ImportError: No module named myblock" when generatin
From: |
Yulong Yang |
Subject: |
[Discuss-gnuradio] "ImportError: No module named myblock" when generating py file in GRC |
Date: |
Wed, 20 Apr 2011 18:00:36 +0800 |
Hello,
I am new to GNU radio. I am trying to write a simple block and add it to
GRC. All steps before are fine. However, when I generate the
top_block.py file, it says "ImportError: No module named myblock".
The myblock is actually the name of the folder I create to put all
necessary files of my block such as files like MakeFile.am and
sub-folders lib, swig, etc. Can this be called a module?
What is a module? I see the code in how-to-write-a-block, it seems that
it also import a module howto. Where could I find such modules or create
one my own?
Sorry to ask so many questions; I cannot find a clear way to study this.
I would really appreciate any help.
Thank you in advance.
- [Discuss-gnuradio] "ImportError: No module named myblock" when generating py file in GRC,
Yulong Yang <=