Re: [beagleboard] Re: Phypton for Beaglebone
Hello Dennis I am trying to write my first code in python, I am sending an email in python. I wrote this code , but forever generate an error, I don't know how to find it. [image: image.png] Here the screenshot with the code and error messages. Do you have some suggestion that I can to use to eliminate this errors? I would like to learn python step by step before to write a code for beagle bone black thanks El mié., 22 ago. 2018 a las 15:02, Dennis Lee Bieber () escribió: > On Wed, 22 Aug 2018 14:44:11 -0500, hcasalncasal1963 > declaimed the > following: > > >If I understood Well your explanation , for now I should use python 3. 5 > and ubuntu for my projects. Is it correct? > > Just use the Python that comes on the Beaglebone -- it has both > 2.7 and > 3.5 already in the normal (lxqt) install (don't even consider Ubuntu). > > "python" will run using 2.7 > "python3" will run using 3.5 > > debian@beaglebone:~$ uname -a > Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018 > armv7l GNU/Linux > debian@beaglebone:~$ python --version > Python 2.7.13 > debian@beaglebone:~$ python3 --version > Python 3.5.3 > debian@beaglebone:~$ > > > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/n1grndld615r997mm0m2jdbibknug8pdia%404ax.com > . > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAGvkCdXy9O4pb9%2BG1YXx6XMDoHa8_zGW-EiCafFZmWcpXsM-gA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Re: Phypton for Beaglebone
Thank you Enviado desde mi Samsung Mobile de Claro Mensaje original De: Dennis Lee Bieber Fecha: 8/22/2018 15:02 (GMT-05:00) A: beagleboard@googlegroups.com Asunto: [beagleboard] Re: Phypton for Beaglebone On Wed, 22 Aug 2018 14:44:11 -0500, hcasalncasal1963 declaimed the following: >If I understood Well your explanation , for now I should use python 3. 5 and >ubuntu for my projects. Is it correct? Just use the Python that comes on the Beaglebone -- it has both 2.7 and 3.5 already in the normal (lxqt) install (don't even consider Ubuntu). "python" will run using 2.7 "python3" will run using 3.5 debian@beaglebone:~$ uname -a Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018 armv7l GNU/Linux debian@beaglebone:~$ python --version Python 2.7.13 debian@beaglebone:~$ python3 --version Python 3.5.3 debian@beaglebone:~$ -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.com HTTP://wlfraed.home.netcom.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/n1grndld615r997mm0m2jdbibknug8pdia%404ax.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/00lfg8w2ia7btpt1pdipneus.1535030782047%40email.android.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Re: Phypton for Beaglebone
Thank you for your responses. I am sorry, I made a mistake. Yes, I refer to Python software. I am a beginner, and I would like to learn python to write basic programs in the Beaglebone board. I need to handle its analog /digital inputs and outputs for a telemetry project . I read about programing software and I believe Python is easy to begin to learn If I understood Well your explanation , for now I should use python 3. 5 and ubuntu for my projects. Is it correct? I apologize if I make mistake but my native language is spanish Regards Enviado desde mi Samsung Mobile de Claro Mensaje original De: Dennis Lee Bieber Fecha: 8/22/2018 11:24 (GMT-05:00) A: beagleboard@googlegroups.com Asunto: [beagleboard] Re: Phypton for Beaglebone On Wed, 22 Aug 2018 07:20:54 -0700 (PDT), hcasalncasal1...@gmail.com declaimed the following: >Hello > >Can the beaglebone support the phypton 3.7 You seem to keep asking this (and have yet to correctly spell PYTHON). The June 2018 image comes with debian@beaglebone:~$ uname -a Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018 armv7l GNU/Linux debian@beaglebone:~$ python --version Python 2.7.13 debian@beaglebone:~$ python3 --version Python 3.5.3 debian@beaglebone:~$ Python 3.7 was only released June 27 2018 -- that is almost two weeks AFTER the http://debian.beagleboard.org/images/bone-debian-9.4-lxqt-armhf-2018-06-17-4gb.img.xz image was built. Python 3.5.3 was released January 17 2017 -- I estimate 3.7 will show up on Debian sometime in late 2019. According to https://packages.debian.org/search?keywords=python3.7 it is currently in the testing release of "Buster", which will be the next major Debian release. 3.6 is also in testing. Neither have been "back-ported" to "Stretch" (which is the current OS release). Debian is not known for "bleeding edge" applications. Their goal is to only release well-tested/stable applications. Ubuntu is known for bleeding edge, and looking at its package list https://packages.ubuntu.com/search?keywords=python3.7 18.04LTS (bionic) has a /beta/ release of Python 3.7, a formal release of 3.7 won't appear on it for some time. The current 16.04LTS is running 3.5, and 18.04LTS has non-beta Python 3.6. So -- not even Ubuntu currently provides what you are asking. If you want something newer on Debian, you will likely have to build it yourself, from sources. Otherwise you will have to wait for Debian Buster to be released, followed by the creation of images for the Beaglebone (which will likely be a few months more after Debian release date). You might be able to use the instructions at https://www.scivision.co/compile-install-python-beta-raspberry-pi/ in order to build your own Python release on the BBB, since both currently run variations of Debian Stretch (note: at the time of that page, 3.7 was only in beta; you'd now get the release source files). Do expect the process time to be longer on the BBB, and make sure you are running on a large SD card for all the scratch files that will be generated. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.com HTTP://wlfraed.home.netcom.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ep0rnd52f2lkvh382ncur4n04en3c414a0%404ax.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/m2ymbdndk7l8tqr5r1g9xrwy.1534965218033%40email.android.com. For more options, visit https://groups.google.com/d/optout.