Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 19 10:21
    sabitesback opened #1811
  • Sep 19 07:14
    rivandemo commented #1806
  • Sep 18 19:36
    ajs256 commented #1806
  • Sep 17 11:48
    rivandemo opened #1806
  • Sep 17 05:30
    stefanowhite opened #1805
  • Sep 17 05:26
    stefanowhite opened #1804
  • Sep 16 21:58
    timiro13 opened #1803
  • Sep 14 23:25
    ayushidg opened #1802
  • Sep 14 10:20
    fratquintero opened #1801
  • Sep 13 14:20
    fmorton synchronize #485
  • Sep 11 08:13
    yuriy-bak opened #1798
  • Sep 10 16:22
    Capekk edited #1797
  • Sep 10 16:19
    Capekk edited #1797
  • Sep 10 16:14
    Capekk opened #1797
  • Sep 10 06:55
    angelinaceressia opened #1796
  • Sep 10 00:12
    xbecas synchronize #1795
  • Sep 10 00:01
    elias40000 commented #1781
  • Sep 09 22:43
    tmontes commented #1795
  • Sep 09 22:31
    xbecas opened #1795
  • Sep 09 22:17
    xbecas commented #1138
Dani Long
@Dani-Long
So, yeah. Also, currently installed pkg matplotlib = 3.3.4 (not 2.2.2)
Zander Brown
@zbrown:matrix.org
[m]
Are you using a venv?
Dani Long
@Dani-Long
No, I tried. I am going to try again.
Zander Brown
@zbrown:matrix.org
[m]
Did you activate the venv? A fresh venv shouldn't have any matplotlib at all
Dani Long
@Dani-Long
But... this is confusing: (from https://docs.python.org/3/library/venv.html):
Deprecated since version 3.6: pyvenv was the recommended tool for creating virtual environments for Python 3.3 and 3.4, and is deprecated in Python 3.6.
Next line: Changed in version 3.5: The use of venv is now recommended for creating virtual environments.
Zander Brown
@zbrown:matrix.org
[m]
As in you use python -m venv instead of pyvenv
Dani Long
@Dani-Long
⊙.☉ Oh. Clearly I am not ready closely.
*reading
Dani Long
@Dani-Long

venv installed, mu-env created.

From within the mu-env dir, tried to ''''pip install matplotlib==2.2.2''' but it looks like it wants to use a cached version of matplotlib-2.2.2.tar.gz AND ended up with this error message:

'''WARNING: Discarding https://files.pythonhosted.org/packages/ec/ed/46b835da53b7ed05bd4c6cae293f13ec26e877d2e490a53a709915a9dcb7/matplotlib-2.2.2.tar.gz#sha256=4dc7ef528aad21f22be85e95725234c5178c0f938e2228ca76640e5e84d8cde8 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement matplotlib==2.2.2
ERROR: No matching distribution found for matplotlib==2.2.2'''

Also from within mu_env directory, tried to install python3.8.12 (last stable 3.8):

sudo apt install python3.8 1 ⨯
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3.8' has no installation candidate

I cannot find any documentation that says to do either of these tasks any other way than what I did, above.

Side note - what am I doing incorrectly that the formatting isn't working when I post here?
Zander Brown
@zbrown:matrix.org
[m]
Not sure
```
but you should be doing this
```
Dani Long
@Dani-Long
Trying.
Oh, hey, copy/paste did work.
venv installed and running ok. Can't figure out how to point to Python-3.8.12 (which I believe is now installed correctly.
)
SadBeaBurrito
@SadBeaBurrito
I found a glitch which is happening to other people I know as well. When I make a game and define the screen dimensions if it is too big and I have to drag it up from the corner the part of the screen which was hidden is black and there is no display. Is there a way to fix this.
Nicholas Tollervey
@ntoll
@SadBeaBurrito this is a problem with PyGame, not Mu. You could raise the issue with them.... see: https://www.pygame.org/ for details of how to do this. Best of luck..!
EthanLilley
@EthanLilley4_twitter
Does anyone know how to install MU for all users? Need to do an install for a school
^^ for windows, domain joined machines
Nicholas Tollervey
@ntoll
@EthanLilley4_twitter this is something on the radar that @tmontes is looking into.
EthanLilley
@EthanLilley4_twitter
Brill, thanks @ntoll , any advice for a work around or is it best to get individuals to install this for the time being
Tiago Montes
@tmontes
Give me a min @EthanLilley
…does this help? Should work. Feedback is welcome, though! :)
https://pup.readthedocs.io/en/latest/platform_notes/windows_msi.html
1 reply
Nicholas Tollervey
@ntoll
Sneak peek... for those who want to be able to select their language for the UI. Currently a draft feature to be added to the admin dialog.
....PR here: mu-editor/mu#1790
EthanLilley
@EthanLilley4_twitter
@tmontes i'll have a look, thankyou!
marrmarr
@marrmarr
No Run button with Win10, CircuitPython and ESP32S2. Connects fine but the terminal window header says 'CircuitPython REPL' but I can't enter any text.... Thoughts?
Hirokazu Yamazaki
@puziro
I use Mu for micro:bit.
Does it
support double byte character like katakana.
Hirokazu Yamazaki
@puziro
It seems index doesn't work
katakana string.
Capekk
@Capekk
Hi, I have an issue with opening Mu. I have posted it to GitHub with #1797 (mu-editor/mu#1797). If anyone knows something that may help, please let me know. Thank you
John Gallaugher
@gallaugher_twitter
Mu on my M2
Peter Narbus
@GoodDeal___twitter
Nubie running 1.1.0.beta.5 and CircuitPython do not have a RUN button. Only SERIAL and PLOTTER buttons... How do I get the RUN button to appear? Thanks.
bblack7489
@bblack7489
I have a new board from Lolin using the ESP32-S2 silicon. I'm able to use Micropython via a serial interface, but Mu won't recognize it. Any thoughts? Is it a connection issue, or is that flavor of ESP32 not yet supported?
PETRSIL
@PETRSIL
In other words ... Does "microbit" module support all micro:bit functions (concrete "microbit.volume()")? https://microbit.org/news/2020-06-29/add-volume-control-to-microbit-music/
Nicholas Tollervey
@ntoll
@PETRSIL best ask this on micro:bit support channels.
3 replies
bobny
@bobny:matrix.org
[m]
u there
hello?
Zander?
Nicholas Tollervey
@ntoll
@zbrown:matrix.org :point_up:
Zander Brown
@zbrown:matrix.org
[m]
I got two pings, not sure why?
bobny
@bobny:matrix.org
[m]
hows it going
J. Sheldon
@JimSFX_twitter
Hello, any pygame zero users I could chat with?
it seems like some of the libraries for pygame zero aren't working on the mu editor. For instance screen.draw.text("hello world", (20, 100)) results in NameError: name 'screen' is not defined
Nicholas Tollervey
@ntoll
@JimSFX_twitter what version of Mu are you using, and how did you install it..? Also, can you please confirm you're running your code in PyGameZero mode (click on the snake button in the top left and select PyGameZero in the list of available modes that'll appear). Then click on the "run" button. Documentation is here: https://codewith.mu/en/tutorials/1.1/pgzero As for not working in Mu, it works for me, so there's probably something amiss at your end. Please do let us know how you get on. Thanks and best of luck..! :-)
Svein-Tore
@Svein-Tore
Is it possible to use sympy with MU, and if, how?
Carl J. Nobile
@cnobile2012
@Svein-Tore That's a simple question but it has a complicated answer.
Does the python code in sympy use any statements that are not implemented in micropython?
What system are you running it on?
Does this system have the memory for its use?
If there is low-level C/C++ code in the sympy library then the answer is no, it will not work on any MCU board unless you can cross-compile that code.
You'll have to just try it an see if it works.