discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Python portability Question


From: Andrew Hofmaier
Subject: Re: [Discuss-gnuradio] Python portability Question
Date: Mon, 14 May 2012 09:28:40 -0400

Bill,

"If I want to run the program on a Linux system with Python support,
but without GnuRadio, GRC, etc."

This won't work - you'll have to have the Gnuradio C++ backend
installed somewhere on the system for your Python script to use.  The
Python code that you are importing is just a wrapper for the C++
executables.

Andrew Hofmaier


On Sun, May 13, 2012 at 8:27 PM, William Pretty Security
<address@hidden> wrote:
> Hello List;
>
>
>
> I have successfully created a python program using GnuRadio Companion.
>
> When I look at the generated “file.py” there are a number of “import”
> statements.
>
> Such as “from gnuradio import audio”, etc.
>
>
>
> If I want to run the program on a Linux system with Python support, but
> without
>
> GnuRadio, GRC, etc. What should I do ?
>
>
>
> Can I simply remove the “from gnuradio” part of the command and put
> everything in the same directory ?
>
> Then just change all the ‘imports’ to “import audio” etc, etc ??
>
>
>
> Thanks;
>
>
>
> Bill
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



reply via email to

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