Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

MicroPython • Re: Bug-Fixed Thonny?

$
0
0
Using the Thonny install script from GitHub "thonny-4.1.7.bash" on a Pi5 running Bookworm 64-bit desktop, it worked OK, and gives a Thonny menu item under "Programming".
Also worked for me on Pi 4B Bookworm 32-bit. Took me a while to find "thonny-4.1.7.bash" but I got there -

Code:

sudo apt remove --purge thonnycd /tmpwget https://github.com/thonny/thonny/releases/download/v4.1.7/thonny-4.1.7.bashchmod +x thonny-4.1.7.bash./thonny-4.1.7.bash  <enter>sudo ln -s ~/apps/thonny/bin/thonny /usr/local/bin/thonny
That last line is so I can launch the Thonny IDE from a terminal by typing 'thonny'. It also allows 'thonny --version' which does reveal the version even if it then goes on to crash and burn.

I wasn't particularly impressed by it using my '~/apps/thonny' directory but c'est la vie. I'll have to go check my backup to see if it deleted anything I had put there. It is especially annoying given it had reported -

Code:

I could install Thonny into a venv under your existing Python 3.11.2 (/home/pi/.env/bin/python3).Press ENTER to continue or Ctrl+C to cancel.
That is where I thought it was going to put it, or at least ask where to put it.

Statistics: Posted by hippy — Mon Aug 25, 2025 4:29 pm



Viewing all articles
Browse latest Browse all 8023

Trending Articles