[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GnuRadio Port: The system cannot find the file sp

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] GnuRadio Port: The system cannot find the file specified
Date: Fri, 15 Apr 2011 11:28:57 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110303 Thunderbird/3.1.9

On 15/04/2011 11:13 AM, Josh Blum wrote:
C:\Windows\system32>python.exe -c "from gnuradio import uhd"
Traceback (most recent call last):
   File "<string>", line 1, in<module>
   File "c:\program files
py", line 87, in<module>
   File "c:\program files
py", line 26, in _prepare_uhd_swig
     import uhd_swig
   File "c:\program files
py", line 24, in<module>
     _uhd_swig = swig_import_helper()
   File "c:\program files
py", line 20, in swig_import_helper
     _mod = imp.load_module('_uhd_swig', fp, pathname, description)
ImportError: DLL load failed: The specified module could not be found.

That usually means a dll is not in your %PATH%.
Set the %PATH% environment variable for your gnuradio install, this is

     * c:\program files (x86)\uhd\bin
     * c:\program files (x86)\gnuradio\bin
     * c:\python27\lib\site-packages\pyqt4\bin


Further, you have to add those paths to the *SYSTEM* instance of the %PATH% variable. Adding them to the *USER* instance doesn't appear to allow you to load DLLs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]