Thonny Chromebook installation error

186 views
Skip to first unread message

Ryan Dehmoubed

unread,
Mar 26, 2021, 11:47:21 AM3/26/21
to thonny

Hi all,

I am trying to install Thonny on my Chromebook by following the following installation guide: https://boldidea.org/static/thonny/chromebook.htm.  I am getting the following error (I attached the screenshot below), when I input the command: bash <(wget -O - https://thonny.org/installer-for-linux).

Is there a way around this error to support Chromebooks with an Aarch64 architecure? Why doesn't Thonny currently support these Chromebooks? Does the Thonny development team anticipate supporting Thonny on top of this architecture in the future?


Best Regards,

Ryan Dehmoubed

Screen Shot 2021-03-26 at 8.44.56 AM.png

Aivar Annamaa

unread,
Mar 26, 2021, 12:22:39 PM3/26/21
to thonny
Hi!

Thonny is platform independent by itself, it's just that I'm not providing pre-built Python+Tk+Thonny bundles for this platform. 

Please try following:
  • apt install thonny
  • or
  • apt install python3-tk python3-pip; pip3 install --user thonny
I added https://github.com/thonny/thonny/issues/1736 as a reminde to suggest this in the installer script.

I'm not sure about whether I'll add binaries for this platform. At the moment I don't have a device for testing it.

Best regards,
Aivar


Ryan Dehmoubed

unread,
Mar 27, 2021, 11:33:06 AM3/27/21
to thonny
Hi Aivar,

Thank you for your prompt and very helpful response. When I ran the following commands that you suggested:

- sudo apt-get update

and then 

- sudo apt install Thonny

Once I finish running these commands, Thonny is able to be installed successfully on my Chromebook. However, the installed version is Thonny 3.1.2 - 1, which doesn't have support for MicroPython or most recent plugins.

Do you know why an older version of Thonny is being installed? Is there a separate command that I would need to enter in order to download the most recent version of Thonny? Is there a linux command that I can run on my terminal?

Thanks, 
Ryan Dehmoubed
Screen Shot 2021-03-27 at 8.30.40 AM.png

Aivar Annamaa

unread,
Mar 27, 2021, 3:30:16 PM3/27/21
to thonny
Hi!

I suppose the Debian repo, which Chromeos is using, simply hasn't updated Thonny for a while. But you can always get latest Thonny from PyPI.

Best regards,
Aivar 

Ryan Dehmoubed

unread,
Mar 29, 2021, 12:22:38 PM3/29/21
to thonny
Hi,

Thanks again for the prompt response Aivar! The new version of Thonny works perfectly when downloading it from Pypi and then launching it with "python3 -m thonny".

However, it would still be really nice for students who use Chromebooks to have an application that they could click on rather than launching Thonny through the command line. Do you know if it is possible to update the Debian repo or how long it would generally occur for the Debian repo to be updated to allow for the newer version of Thonny to be installed, so that students would be able to get the latest release of Thonny by inputting "sudo apt install thonny"?

Thanks again,
Ryan
Reply all
Reply to author
Forward
0 new messages