Questions tagged [mu]

Mu is a small, simple editor for beginner Python programmers. Written in Python and Qt5.

Mu is a simple code editor for beginner programmers based on extensive feedback from teachers and learners. Having said that, Mu is for anyone who wants to use a simple “no frills” editor. It is available on pypi.

69 questions
0
votes
1 answer

problems Installing pyodbc in Mu editor

I'm new to Python. I've been trying to install the package pyodbc but I am not having any luck. Using pip, I can install the package pyperclip. When I use "pip install pyodbc" I get a PYD and PYI file. I can "import pyperclip" into my application…
Tom
  • 11
  • 3
0
votes
0 answers

while installing mu-editor on linux pop os, i get errors left and right

What were you trying to do? I was trying to install mu editor on linux using the guide on the website, What steps did you take to trigger the issue? I simply attempted to type pip3 install mu-editor in the terminal. What did you expect to happen? I…
lilsolar
  • 59
  • 7
0
votes
1 answer

while installing mu editor, i get error metadata-generation-failed and error subprocess-exited-with-error. I've updated pip, am running python 3.10.4

Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: mu-editor in ./.local/lib/python3.10/site-packages (1.0.3) Requirement already satisfied: pycodestyle==2.4.0 in…
lilsolar
  • 59
  • 7
0
votes
1 answer

What version of pygame does mu use?

I recently found mu doesn't work due to an update for my operating system, and I was using it's built in pygame mode. I have now switched to a different editor (thonny) and was wondering which version/type it uses so I can use it there. The mu…
fozzy
  • 13
  • 6
0
votes
0 answers

Circuitpython | Traceback ValueError | >BUTTON_A is being used<

Context I hope I can get some help. Thanks in advance I recently acquired a Circuit Playground Express as a project for college, and I am having some issues programming with it, specially because the Traceback is constantly giving me an error which…
0
votes
3 answers

Python "ModuleNotFoundError:", but module does appear to be installed per Command Prompt

I am very new to Python/programming, having recently installed Python 3.10. I have already installed the Openpyxl module, i.e. when I check on CMD I get this: C:\Users\hadam>pip install openpyxl Requirement already satisfied: openpyxl in…
0
votes
0 answers

Having issues with importing Pandas to Mu-editor

"from pandas import *" is greeted with a "ModuleNotFoundError: No module named 'pandas'" error message. To write code in Python, I am currently used mu-editor which I access through the anaconda3 terminal. I do have Python 3.9 installed and have run…
0
votes
1 answer

Emergency stop in Python

My students are using the PyParrot library to control drones. However, we need a fail safe if they make an error (i.e. coding a drone in to a wall/elevate to the ceiling etc). Previously I had used KeyboardInterrupt, however, this year we are using…
PlantPot
  • 49
  • 6
0
votes
0 answers

Pip install states module is already downloaded but I can't use it?

I am using a python editor called 'Mu' and want to download a module called 'pyperclip' with pip install. I am operating on Windows 10 and typed pip install --user pyperclip on the command prompt. The first time I did this, the prompt said it was…
0
votes
0 answers

ModuleNotFoundError: No module named 'pyperclip' in Mu-Editor (Mac)

I'm getting this error when I try to import pyperclip in Mu-Editor but in Idle it imports just fine. I found this thread . One of the solutions is to download get-pip.py from here but I'm at a loss as to how I download it. Any help would be…
JR Unisa
  • 19
  • 3
0
votes
2 answers

How do I add multiple numerical values that I got from previous algorithms into an array to do some calculation in MU python editor for microbit?

I'm new to programming and I'm building an ultrasonic sensor to calculate the distance of an object from the microbit. I have written some codes to measure the distances 50 times in 1 sec, but since each measurements are slightly different, i want…
0
votes
1 answer

Error when using pyautogui module in Mu-Editor

I'm trying to write some code and import the pyautogui module, but am getting an error. import pyautogui import webbrowser webbrowser.open('https://roamresearch.com/#/app/test852') b = pyautogui.locateOnScreen('JournalQuestions.png') I'm getting…
0
votes
4 answers

How do I install third party modules in the Mu Editor?

I am trying to install third party modules in the Mu Editor on my Mac OS and I am following the instructions on "Automate the boring stuff with Python" (here is the link to the instructions I am following:…
ximeng86
  • 11
  • 1
  • 3
0
votes
2 answers

Why does the first print statement's string gets printed in python?

while True: print("HI , TELL YOUR NAME") name = input() if name != 'anwar': continue print("your password , please") password=input() if password != 'bull': break print("access granted") So the problem here…
0
votes
1 answer

Syntax error while coding on mu with microbit

Here is the code i used to create an Edice for microbit: from microbit import * import random image1 = Image("00000:" "00000:" "00900:" "00000:" "00000") image2 = Image("90000:" …
Dan Ang
  • 13
  • 2