Hi Jerom - I believe GRC outputs Py script based on how GR is installed.
Since GR38 can be installed using Py27 or Py3, if it's installed using Py27
then GRC will output for Py27. If installed for Py3 then it'll output for
Py3. Pretty sure this is correct. Hence, I'd advise you to check how GR is
installed in the first place & if for Py27 then see about getting it
installed for Py3. Hope this is useful! - MLD

On Thu, Feb 20, 2020 at 9:06 AM Jerom Maas - LR <j.b.m...@tudelft.nl> wrote:

> Hello all,
>
>
> after installing GRC 3.8, I find that the .py files that are created from
> grc are python 2, instead of python 3.
>
> I use Py3 and not Py2, so that's a problem.
>
> How do I change the output language of GRC? If I use the 'option block'  I
> can only choose 'Python'  or ' C++' , but I can't specify the version of
> Python. I am using Windows.
>
>
> Thanks for your help,
>
>
> Jerom Maas
>
>
> PS I am not so familiar with C, so if the solution is to alter a bit in
> Cmake or something, can you specifically name the file that needs to be
> changed? That would be very helpful!
>
>
>
>

-- 
Michael Dickens
Ettus Research Technical Support
Email: supp...@ettus.com
Web: https://ettus.com/

Reply via email to