[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRC 3.8 Output language Py2 or Py3 (Windows)
From: |
CEL |
Subject: |
Re: GRC 3.8 Output language Py2 or Py3 (Windows) |
Date: |
Fri, 21 Feb 2020 19:28:56 +0000 |
Hi Geof,
this is just to let you know how much I appreciate your work:
Thank you!
Best regards,
Marcus
On Thu, 2020-02-20 at 17:14 -0500, Geof Nieboer wrote:
> Jerom,
>
> Confirming what Marus and the others have said, the current installers use
> py2.7 and only py2.7.
>
> It is indeed a major effort to move to py3 (because compilers), and once it's
> done, it'll be done forever, I can't maintain 2 versions. So since py2.7 was
> the legacy standard, I'm planning on one more GR 3.8 build before converting
> the installers to py3.
>
> Py3 once the old code is ripped out will actually be much easier to maintain,
> but for now, you are stuck. However, at some point in the
> future-at-a-date-I-won't-commit-to-because-life, GR3.8+py3 will be available
> on Windows in a handy-dandy installer.
>
> Geof
>
> On Thu, Feb 20, 2020 at 11:55 AM Michael Dickens <address@hidden> wrote:
> > If you install from an EXE, then you'll get whatever it was built for (Py27
> > or Py3). If there's any way to build from source then you can select the
> > Python version directly. I don't run Windows, nor do I build for it;
> > hopefully someone is providing different Windows installer for GR38 with
> > variants for Py27 and Py3 ... - MLD
> >
> > On Thu, Feb 20, 2020 at 10:08 AM Jerom Maas - LR <address@hidden> wrote:
> > > Hello Michael, thanks for the quick response!
> > >
> > > I've just reinstalled GRC, but I've not seen a single option about Py2 or
> > > Py3. Maybe it's because I use the .exe installer, that it automatically
> > > chooses Py2 then? As said before, I don't even have Py2 installed on my
> > > pc. Should I give it a go using Powershell, or try another method?
> > >
> > >
> > >
> > > Jerom
> > >
> > > Van: Michael Dickens <address@hidden>
> > > Verzonden: donderdag 20 februari 2020 15:50:43
> > > Aan: Jerom Maas - LR
> > > CC: address@hidden
> > > Onderwerp: Re: GRC 3.8 Output language Py2 or Py3 (Windows)
> > >
> > > 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 <address@hidden> 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: address@hidden
> > > Web: https://ettus.com/
> >
> >
smime.p7s
Description: S/MIME cryptographic signature
- GRC 3.8 Output language Py2 or Py3 (Windows), Jerom Maas - LR, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Michael Dickens, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Jerom Maas - LR, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), CEL, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Jerom Maas - LR, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), CEL, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Jerom Maas - LR, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), CEL, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Michael Dickens, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows), Geof Nieboer, 2020/02/20
- Re: GRC 3.8 Output language Py2 or Py3 (Windows),
CEL <=