Hi Van-Ly, if you installed everything correctly, Python should be able to find the module. You can verify this by looking at the install_manifest.txt in your OOT's build/ directory, in which there should be an entry for every file it copied. Find your python files (there always should be an __init__.py) and check if the target location is part of your $PYTHONPATH.
Greetings, Marcus On 23.07.2014 13:35, Nguye^~n Va(n Lý wrote: > Hi all, > > I have created a new module called Tool_NetworkCoding. During the > installation, I did not get any error message, everything went well. But > when I run a grc file to test some blocks inside this new module, it turned > out an error message: > > > > *Traceback (most recent call last): File > "/home/van-ly/Downloads/top_block.py", line 16, in <module> import > Tool_NetworkCodingImportError: No module named Tool_NetworkCoding* > > Please help me with this. > Thank you in advance > Van-Ly > > Nguyen Van-Ly, > Vietnam National University, Hanoi - VNU > University of Engineering and Technology - UET > Faculty of Electronics and Telecommunications - FET > > Tel: +84 978 819 406 > > Standing on my own two feet !!! > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio