[USRP-users] Python Error Message: ImportError: DLL load failed: The specified procedure could not be found.

FIXED-TERM Ghobrial Antoun (CR/AEH4) fixed-term.Antoun.Ghobrial at de.bosch.com
Tue Oct 7 11:43:39 EDT 2014


Hello ,
I am using GNU Radio 3.7.3 (Unstable version) with UHD driver 3.7.0 (Unstable version).  I build a simple Flow graph and I tried to execute the generated Python file and it gives me this error message :

<<
Traceback (most recent call last):
  File "D:\Antoun's Data\Matlab Projects\GNURadio_TestBed\GNU_USRP_Tx.py", line 11, in <module>
    from gnuradio import uhd
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\__init__.py", line 135, in <module>
    _prepare_uhd_swig()
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\__init__.py", line 38, in _prepare_uhd_swig
    import uhd_swig
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\uhd_swig.py", line 26, in <module>
    _uhd_swig = swig_import_helper()
  File "C:\Program Files (x86)\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 procedure could not be found.
>>


I checked google with all Ettus mail list replies and all replies talked about checking the Path Environment and I should add these paths :
-       c:\program files (x86)\uhd\bin
-       c:\program files (x86)\gnuradio\bin
-       c:\python27\lib\site-packages
-
I already checked these paths several times using Rapid Environment Editor.
I tried to invoke this command 'from gnuradio import uhd' in Python Shell and it showed me the same error message :
<<
Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    from gnuradio import uhd
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\__init__.py", line 135, in <module>
    _prepare_uhd_swig()
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\__init__.py", line 38, in _prepare_uhd_swig
    import uhd_swig
  File "C:\Program Files (x86)\gnuradio\lib\site-packages\gnuradio\uhd\uhd_swig.py", line 26, in <module>
    _uhd_swig = swig_import_helper()
  File "C:\Program Files (x86)\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 procedure could not be found.
>>

Then the problem here is that it can't import uhd library .

Any suggestion please to solve this problem.




Best regards

Antoun Ghobrial



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20141007/84e1a2c1/attachment-0002.html>


More information about the USRP-users mailing list