discuss-gnuradio
[Top][All Lists]
Advanced

[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: Josh Blum
Subject: Re: [Discuss-gnuradio] GnuRadio Port: The system cannot find the file specified
Date: Fri, 15 Apr 2011 11:57:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8


On 04/15/2011 11:10 AM, Ryan van den Bergh wrote:
> Hi Josh,
> 
> Thanks for the suggestions!
> 
> I can run top_block.py from the command line, and I've saved it in My
> Documents folder, however I still can't get GNU Radio Companion to execute
> the file. Do I perhaps have to do something special when running the
> gnuradio-companion.py file?
> 

Glad to hear it works. So, GRC is calling into python to exec the
generated python code. Its trying to run "python <path to your file>...
And this works on linux because python is in your path, but I have no
idea why this works on windows. I mean obviously not for you, but its a
mystery as to why it works for me. Python is not in my path. I have no
idea how grc manages to execute the file it generates. But somehow it
does...

> The command I'm using at the moment is: D:\Python27\python.exe "C:\Program
> Files (x86)\gnuradio\bin\gnuradio-companion.py"

I would stick to running it manually like this until I figure this
mystery out. You may try putting c:\python27 in your %PATH%

-Josh



reply via email to

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