Installing Mu Python Editor

Kerry KiddInstalling Mu Python Editor

Mu is a simple code editor developed in Python for Python, it has built-in support for Adafruit Circuit Playground Express, micro:bit, PyGame, and Python and runs on Windows, Mac, Linux, and even the Raspberry Pi.

Installing Mu On Windows

  1. Go to codewith.mu

  2. Click on Download.

  3. Under Windows Installer click on 64 bit

  4. Once the installer has downloaded. Locate where the file was downloaded to (normally your Downloads folder)

  5. Double-click on the file to run the installer

  6. Follow the instructions on screen.

Follow along with the video here

You have now got Mu installed on your computer Happy Coding.

Installing Mu On MacOS

  1. open your favourite web browser

  2. In the address bar type codewith.mu

  3. Click on Download

  4. Under MacOSX installer click download. This will download the installer to your Mac

  5. Click on the Downloads folder

  6. Click on Mu.editor.dmg and follow the on-screen instructions.

Well done you have now installed the Mu Python editor on your Mac.

Follow along with the video here

Installing Mu On Linux

Each Linux distro is a bit different, so for this guide, I am going to focus on Ubuntu.

  1. Open up a Terminal window.

  2. Mu requires Python3. You can check and see if you have Python3 installed by typing python3 --version If nothing is displayed then type sudo apt install python3 to install Python3.

  3. You also need pip3 installed type pip3 --version If it shows nothing you need to install pip3 by typing sudo apt install python3-pip

  4. Finally to install Mu type pip3 install mu_editor

  5. You can now run Mu from the command line by typing Mu

Follow along with the video here

Now that you have Mu installed you can go and develop in Python3, MicroPython for micro:bit or even CircuitPython for the Adafruit Circuit Playground Express.

Installing Mu On Raspbian

If you are running the latest version of Raspbian (Buster) Mu is in the recommended software menu.

  1. Click on the Raspberry in the top left corner to open the menu.

  2. Hover over preferences

  3. Click on Recommended Software.

  4. Click on Programming.

  5. Click on Mu and then click on OK.

Follow along with the video here

Well done you now have Mu installed you can now write some Python code.