Re: Using Python on Mac
Christopher Barker <[email protected]> Wed, 30 Dec 2020 15:15:47 -0800
| Newsgroups | gmane.comp.python.apple |
|---|---|
| Message-ID | <CALn7ch-jFPooXriAJNu4UFGcVU57FvxgOkjUVqsJjL4NSaJkcQ@mail.gmail.com> |
--===============3670489327577655155== Content-Type: multipart/alternative; boundary="00000000000021523e05b7b6aed4" --00000000000021523e05b7b6aed4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable it looks like vPython (I'm assuming vPhython was a typo) is fairly up to date: https://vpython.org/presentation2018/install.html as is pyserial: https://pypi.org/project/pyserial/#history I would go with vPython's advise to use conda to get both vPython and pyserial. -CHB (note: I recommend "miniconda" -- and then install exactly what else you need) On Wed, Dec 30, 2020 at 3:51 AM Jack Jansen <[email protected]> wrote: > Guido, > if I googled correctly that =E2=80=9CPython and Arduino=E2=80=9D series i= s from 2014. At > that time there was something to be said for using Python 2.7, but in 202= 0 > that is no longer true. And, actually, since Python 2.7 has finally been > moved to end-of-life last year many tutorials that refer to Python 2.7 > specifically will stop to work (as you have found out). > > Your best bet is to ignore all the version numbers Paul McWorther mention= s > in his tutorial, and try to download the latest version of everything. Se= e > how far that gets you. > > You=E2=80=99re not the first one to run into this problem, as you can see= from the > comments under the video, but unfortunately none of the people that came > across the Python 2.7 issues added comments saying what they had to do to > run the tutorial in 2020. If you get it to work: maybe add a comment to t= he > video to say what you had to change to make it work? > > And feel free to post problems here, > > Jack > > On 29-Dec-2020, at 19:29 , Guido Deboeck <[email protected]> wrote: > > In Lesson 2 of Python and Arduino by Paul McWhorter he suggest downloadin= g > Python 2.7 rather than the more recent version 3.x. He also suggests to > download pyserial 2.7 as well as vPhython. I have search for pyserial 2.7 > and have not been able to find it on the web As to vPhython I found > PyCharm, but that is not for free. Could you pls help me to find pyserial > 2.7 as well as vPhython for use on a Mac. Thank you. > > _______________________________________________ > Pythonmac-SIG maillist - [email protected] > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > > > -- > > Jack Jansen, <[email protected]>, http://www.cwi.nl/~jack > > If I can't dance I don't want to be part of your revolution -- Emma Goldm= an > > > > _______________________________________________ > Pythonmac-SIG maillist - [email protected] > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > --=20 Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython --00000000000021523e05b7b6aed4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">it looks like vPython (I'm assuming vPhython=C2=A0was = a typo) is fairly up to date:<div><br></div><div><a href=3D"https://vpython= .org/presentation2018/install.html">https://vpython.org/presentation2018/in= stall.html</a><br></div><div><br></div><div>as is pyserial:</div><div><br><= /div><div><a href=3D"https://pypi.org/project/pyserial/#history">https://py= pi.org/project/pyserial/#history</a><br></div><div><br></div><div>I would g= o with vPython's=C2=A0advise to use conda to get both vPython and pyser= ial.</div><div><br></div><div>-CHB</div><div><br></div><div>(note: I recomm= end=C2=A0"miniconda" -- and then install exactly what else you ne= ed)</div><div><br></div><div><br></div></div><br><div class=3D"gmail_quote"= ><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Dec 30, 2020 at 3:51 AM Jack= Jansen <<a href=3D"mailto:[email protected]">[email protected]</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div st= yle=3D"overflow-wrap: break-word;">Guido,<div>if I googled correctly that = =E2=80=9CPython and Arduino=E2=80=9D series is from 2014. At that time ther= e was something to be said for using Python 2.7, but in 2020 that is no lon= ger true. And, actually, since Python 2.7 has finally been moved to end-of-= life last year many tutorials that refer to Python 2.7 specifically will st= op to work (as you have found out).</div><div><br></div><div>Your best bet = is to ignore all the version numbers Paul McWorther mentions in his tutoria= l, and try to download the latest version of everything. See how far that g= ets you.</div><div><br></div><div>You=E2=80=99re not the first one to run i= nto this problem, as you can see from the comments under the video, but unf= ortunately none of the people that came across the Python 2.7 issues added = comments saying what they had to do to run the tutorial in 2020. If you get= it to work: maybe add a comment to the video to say what you had to change= to make it work?</div><div><br></div><div>And feel free to post problems h= ere,</div><div><br></div><div>Jack<br><div><br><blockquote type=3D"cite"><d= iv>On =C2=A029-Dec-2020, at 19:29 , Guido Deboeck <<a href=3D"mailto:gui= [email protected]" target=3D"_blank">[email protected]</a>> wrote:</d= iv><br><div><div>In Lesson 2 of Python and Arduino by Paul McWhorter he sug= gest downloading Python 2.7 rather than the more recent version 3.x. He als= o suggests to download pyserial 2.7 as well as vPhython. I have search for = pyserial 2.7 and have not been able to find it on the web As to vPhython I = found PyCharm, but that is not for free. Could you pls help me to find pyse= rial 2.7 as well as vPhython for use on a Mac. Thank you.<br><br>__________= _____________________________________<br>Pythonmac-SIG maillist =C2=A0- =C2= =A0<a href=3D"mailto:[email protected]" target=3D"_blank">Pythonmac-= [email protected]</a><br><a href=3D"https://mail.python.org/mailman/listinfo/p= ythonmac-sig" target=3D"_blank">https://mail.python.org/mailman/listinfo/py= thonmac-sig</a><br>unsubscribe: <a href=3D"https://mail.python.org/mailman/= options/Pythonmac-SIG" target=3D"_blank">https://mail.python.org/mailman/op= tions/Pythonmac-SIG</a><br></div></div></blockquote></div><br><div> <span style=3D"border-collapse:separate;color:rgb(0,0,0);font-family:Helvet= ica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal= ;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:no= ne;white-space:normal;word-spacing:0px"><div><p style=3D"margin:0px"><font = face=3D"Helvetica" size=3D"3" style=3D"font:12px Helvetica">--</font></p><p= style=3D"margin:0px"><font face=3D"Helvetica" size=3D"3" style=3D"font:12p= x Helvetica">Jack Jansen, <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>>, <a href=3D"http://www.cwi.nl/~jack"= target=3D"_blank">http://www.cwi.nl/~jack</a></font></p><p style=3D"margin= :0px"><font face=3D"Helvetica" size=3D"3" style=3D"font:12px Helvetica">If = I can't dance I don't want to be part of your revolution -- Emma Go= ldman</font></p><br></div></span><br> </div> <br></div></div>_______________________________________________<br> Pythonmac-SIG maillist=C2=A0 -=C2=A0 <a href=3D"mailto:Pythonmac-SIG@python= .org" target=3D"_blank">[email protected]</a><br> <a href=3D"https://mail.python.org/mailman/listinfo/pythonmac-sig" rel=3D"n= oreferrer" target=3D"_blank">https://mail.python.org/mailman/listinfo/pytho= nmac-sig</a><br> unsubscribe: <a href=3D"https://mail.python.org/mailman/options/Pythonmac-S= IG" rel=3D"noreferrer" target=3D"_blank">https://mail.python.org/mailman/op= tions/Pythonmac-SIG</a><br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature">Christopher Barker, PhD<br><br> Python Language = Consulting<br>=C2=A0 - Teaching<br>=C2=A0 - Scientific Software Development= <br>=C2=A0 - Desktop GUI and Web Development<br>=C2=A0 - wxPython, numpy, s= cipy, Cython<br></div> --00000000000021523e05b7b6aed4-- --===============3670489327577655155== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pythonmac-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG --===============3670489327577655155==--