# UHD in Windows - \_uhd\_swig not found

**URL:** <https://www.ruby-forum.com/t/uhd-in-windows-uhd-swig-not-found/240722>\
**Category:** GNU Radio\
**Created:** [April 27, 2014, 7:38pm UTC](https://www.ruby-forum.com/t/uhd-in-windows-uhd-swig-not-found/240722 "2014-04-27T19:38:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [April 27, 2014, 7:38pm UTC](https://www.ruby-forum.com/t/uhd-in-windows-uhd-swig-not-found/240722/1 "2014-04-27T19:38:46Z")

</div>

Hello,

I’m getting the following error when trying to run a gnuradio graph with  
USRP in windows:

File “c:\Program  
Files\gnuradio\lib\site-packages\gnuradio\uhd\uhd\_swig.py”, line 22, in  
swig\_import\_helper

```
_mod = imp.load_module('_uhd_swig', fp, pathname, description)

```

ImportError: DLL load failed: The specified module could not be found.

I did a quick google search and this thread came up:  
[http://lists.ettus.com/pipermail/usrp-users\_lists.ettus.com/2012-May/004520.html](http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2012-May/004520.html)

but it looks there was no resolution. I tried putting uhd.dll on the  
system path, but I get the same error.

Is uhd.dll really the file I need, or is it \_uhd\_swig.pyd (which I’m  
assuming to be a library, since it looks like gobbledy gook in  
notepad)

Thanks,  
Stephen A.  
Undergraduate, Electrical Engineering  
Missouri University of Science and Technology

---

<div class="post-metadata">

**Author:** ![stephen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@stephen](https://www.ruby-forum.com/u/stephen)\
**Post date:** [April 28, 2014, 3:45pm UTC](https://www.ruby-forum.com/t/uhd-in-windows-uhd-swig-not-found/240722/2 "2014-04-28T15:45:35Z")

</div>

On Sun, Apr 27, 2014 at 1:37 PM, Stephen A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks,  
> Stephen A.  
> Undergraduate, Electrical Engineering  
> Missouri University of Science and Technology

There should be a file called \_uhd\_swig.so that it’s not finding. This  
file  
will be located with the other gr-uhd Python files in:

"c:\Program Files\gnuradio\lib\site-packages\gnuradio\uhd"

This looks to me like maybe a problematic or aborted installation. But  
just  
know that we don’t have any active support for Windows installations, so  
you might be on your own there.

Tom
