# Getting error: No module named howto\_swig

**URL:** <https://www.ruby-forum.com/t/getting-error-no-module-named-howto-swig/234479>\
**Category:** GNU Radio\
**Created:** [March 7, 2015, 7:38pm UTC](https://www.ruby-forum.com/t/getting-error-no-module-named-howto-swig/234479 "2015-03-07T19:38:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [March 7, 2015, 7:38pm UTC](https://www.ruby-forum.com/t/getting-error-no-module-named-howto-swig/234479/1 "2015-03-07T19:38:18Z")

</div>

while building own custom block “square\_ff” for Gnuradio 3.7.3, my make  
test command was not successful. After checking in detail for the error  
with command “ctest -V -R square”, i got an error of “No module named  
howto\_swig”.  
also while doing cmake there was one of the statement “Disabling SWIG  
because version check failed”. I tried to troubleshoot be installing or  
upgrading SWIG, but it did not solve my error.  
ERROR:  
/home/abhishek/gnuradio-master/gr-howto/build/DartConfiguration.tcl  
Test project /home/abhishek/gnuradio-master/gr-howto/build  
Constructing a list of tests  
Done constructing a list of tests  
Checking test dependency graph…  
Checking test dependency graph end  
test 2  
Start 2: qa\_square\_ff

2: Test command: /bin/sh  
“/home/abhishek/gnuradio-master/gr-howto/build/python/qa\_square\_ff\_test.sh”  
2: Test timeout computed to be: 9.99988e+06  
2: Traceback (most recent call last):  
2: File  
“/home/abhishek/gnuradio-master/gr-howto/python/qa\_square\_ff.py”,  
line 24, in   
2: import howto\_swig as howto  
2: ImportError: No module named howto\_swig  
1/1 Test #2: qa\_square\_ff …\*\*\*Failed 0.29 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.30 sec

The following tests FAILED:  
2 - qa\_square\_ff (Failed)  
Errors while running CTest

Any suggestion will be appreciated  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![abhishek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@abhishek](https://www.ruby-forum.com/u/abhishek)\
**Post date:** [March 7, 2015, 10:43pm UTC](https://www.ruby-forum.com/t/getting-error-no-module-named-howto-swig/234479/2 "2015-03-07T22:43:45Z")

</div>

Hi Abhishek,  
the whole “howto” example introduction is kind of obsolete; I recommend  
following the new guided tutorials from  
[https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided\_Tutorials](https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials)

Greetings,  
Marcus
