[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: |
Thu, 20 Feb 2020 16:03:38 +0000 |
Hi Jerom,
cool! You can, by the way, run Linux in a VM under windows, so that you
don't have any risk or permanent investment to use Linux:
https://www.virtualbox.org/wiki/Downloads
Best regards,
Marcus
On Thu, 2020-02-20 at 15:38 +0000, Jerom Maas - LR wrote:
> hi Marcus,
> Thanks again for the quick reply.
> It's good to know that I won't get py3 out of windows GRC.
> I'll switch to linux for now. I've not worked with it before, but I'm not
> afraid either 😉.
> Most important for me is to avoid Py2 if possible.
> I'll keep an eye out for possible windows updates in the future. Should you
> need a guinea-pc, feel free to contact me.
> Thanks for the info,
>
> Jerom
> Van: Müller, Marcus (CEL) <address@hidden>
> Verzonden: donderdag 20 februari 2020 16:24:49
> Aan: address@hidden; Jerom Maas - LR
> CC: address@hidden
> Onderwerp: Re: GRC 3.8 Output language Py2 or Py3 (Windows)
>
> Ha! Don't get me wrong, it's awesome you're using Windows.
>
> Now, I don't think Geof came around to building a Python3 GNU Radio, so
> you're out of luck for now. You could try your hands on doing that
> yourself – follow the link to the Github repo with the source building
> scripts – but I'd doubt it's easy :(
>
> Alternatively:
>
> Use WSL to run GNU Radio 3.8 on Ubuntu 19.04 or 19.10[1] under windows,
> then install GNU Radio 3.8 [2]. Install an X server for windows.
> I've had a student that did that and used VS Code on windows to target
> his WSL installation, it worked well.
>
> Or, really, just install a modern Linux (eg. Ubuntu 19.10, Debian)
> natively or in a VM for now :)
>
> As of now, there IS concentrated efforts to improve the windows
> situation, but to be honest, it's a strange and confusing and
> frustrating world for a lot of us, and I don't even have a single
> Windows machine...
>
> Best regards,
> Marcus
>
> [1]
> https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.ubuntu.com_WSL-23Ubuntu-5Fon-5FWSL&d=DwIFaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=FxwOwDihISw27IZqIUL77cVHQ03qpclxjfkd7WoRAZ8&m=va4bD3iSeVyxTS3NnAN1oTx0C5TfsrYkCr2kFmx24v0&s=2tDf7lNzveWEyNKZWPEZap9kode2wzF1J4qdX4rF6nk&e=
>
> [2]
> https://urldefense.proofpoint.com/v2/url?u=https-3A__launchpad.net_-7Egnuradio_-2Barchive_ubuntu_gnuradio-2Dreleases&d=DwIFaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=FxwOwDihISw27IZqIUL77cVHQ03qpclxjfkd7WoRAZ8&m=va4bD3iSeVyxTS3NnAN1oTx0C5TfsrYkCr2kFmx24v0&s=LSEvfOORFeBb413MJ14w5snDGugZmuVASEwW9QHMa-A&e=
>
> On Thu, 2020-02-20 at 15:17 +0000, Jerom Maas - LR wrote:
> > Hello Marcus,
> >
> > that is correct! Sometimes, looking at the help on these forums, I also
> > have the feeling that I'm one of the few windows users.
> > First of all, a correction: I did not use any .exe, but the file:
> > gnuradio_3.8.0.0_win64.msi
> >
> > I got it from
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.gcndevelopment.com_gnuradio_downloads.htm&d=DwIFaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=FxwOwDihISw27IZqIUL77cVHQ03qpclxjfkd7WoRAZ8&m=va4bD3iSeVyxTS3NnAN1oTx0C5TfsrYkCr2kFmx24v0&s=Ia-uzBv1tMkVhBYI2Nrd_k3qtGMkNRaOlveZ79q0yz0&e=
> > , downloaded yesterday (feb 19th).
> > The file can be found under the 64-Bit Any CPU Windows installer, top link
> > - v3.8.0.0/v1.7 BETA
> >
> > Thank you very much for the help. It's frustrating to be using windows and
> > to differ from the linux standards, but looking at the bright side:
> > I'm glad to help fixing the last problems for windows users :).
> >
> > Jerom
> > Van: Müller, Marcus (CEL) <address@hidden>
> > Verzonden: donderdag 20 februari 2020 16:11:15
> > Aan: address@hidden; Jerom Maas - LR
> > CC: address@hidden
> > Onderwerp: Re: GRC 3.8 Output language Py2 or Py3 (Windows)
> >
> > AAAAH you're one of the few windows users; we'll need you to tell us
> > *exactly* what you've downloaded!
> >
> > Best regards,
> > Marcus
> >
> > On Thu, 2020-02-20 at 15:08 +0000, Jerom Maas - LR 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!
> > > >
> > > >
> > > >
> > >
> > >
smime.p7s
Description: S/MIME cryptographic signature