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: Ryan van den Bergh
Subject: Re: [Discuss-gnuradio] GnuRadio Port: The system cannot find the file specified
Date: Fri, 15 Apr 2011 21:06:19 +0200

Hi Josh,

I've already got python in my path. I agree it's a mystery - I'll just chalk it up to another reason why I really hate Windows!

I'll just run it manually. I'll make a batch file to do it so that it's not too painful.

Thanks for the assistance though, I really appreciate it!

Kind regards,

Ryan

On Fri, Apr 15, 2011 at 8:57 PM, Josh Blum <address@hidden> wrote:


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]