mu editor for micropython

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
ttmetro
Posts: 104
Joined: Mon Jul 31, 2017 12:44 am

Re: mu editor for micropython

Post by ttmetro » Wed Nov 15, 2017 2:51 am

pip3 install -r requirements.txt
downloaded a pile of stuff, including

Code: Select all

Installing collected packages: setuptools, py, pytest, pycodestyle, pyflakes, coverage, pytz, babel, sphinxcontrib-websupport, urllib3, certifi, idna, chardet, requests, six, Pygments, imagesize, docutils, alabaster, MarkupSafe, Jinja2, snowballstemmer, sphinx, pytest-cov, pyserial, sip, pyqt5, qscintilla, decorator, ipython-genutils, traitlets, tornado, simplegeneric, ptyprocess, pexpect, parso, jedi, pickleshare, wcwidth, prompt-toolkit, ipython, python-dateutil, pyzmq, jupyter-core, jupyter-client, ipykernel, qtconsole, pyparsing, cycler, numpy, matplotlib, w3lib, PyDispatcher, lxml, cssselect, parsel, pyasn1, pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, pyasn1-modules, attrs, service-identity, queuelib, Automat, constantly, hyperlink, incremental, zope.interface, Twisted, scrapy, beautifulsoup4, wheel, pkginfo, tqdm, requests-toolbelt, twine
Successfully installed Automat-0.6.0 Jinja2-2.10 MarkupSafe-1.0 PyDispatcher-2.0.5 Pygments-2.2.0 Twisted-17.9.0 alabaster-0.7.10 asn1crypto-0.23.0 attrs-17.3.0 babel-2.5.1 beautifulsoup4-4.6.0 certifi-2017.11.5 cffi-1.11.2 chardet-3.0.4 constantly-15.1.0 coverage-4.4.2 cryptography-2.1.3 cssselect-1.0.1 cycler-0.10.0 decorator-4.1.2 docutils-0.14 hyperlink-17.3.1 idna-2.6 imagesize-0.7.1 incremental-17.5.0 ipykernel-4.6.1 ipython-6.2.1 ipython-genutils-0.2.0 jedi-0.11.0 jupyter-client-5.1.0 jupyter-core-4.4.0 lxml-4.1.1 matplotlib-2.1.0 numpy-1.13.3 parsel-1.2.0 parso-0.1.0 pexpect-4.3.0 pickleshare-0.7.4 pkginfo-1.4.1 prompt-toolkit-1.0.15 ptyprocess-0.5.2 py-1.4.34 pyOpenSSL-17.3.0 pyasn1-0.3.7 pyasn1-modules-0.1.5 pycodestyle-2.3.1 pycparser-2.18 pyflakes-1.6.0 pyparsing-2.2.0 pyqt5-5.9.1 pyserial-3.4 pytest-3.2.4 pytest-cov-2.5.1 python-dateutil-2.6.1 pytz-2017.3 pyzmq-16.0.3 qscintilla-2.10.1 qtconsole-4.3.1 queuelib-1.4.2 requests-2.18.4 requests-toolbelt-0.8.0 scrapy-1.4.0 service-identity-17.0.0 setuptools-36.7.2 simplegeneric-0.8.1 sip-4.19.5 six-1.11.0 snowballstemmer-1.2.1 sphinx-1.6.5 sphinxcontrib-websupport-1.0.1 tornado-4.5.2 tqdm-4.19.4 traitlets-4.3.2 twine-1.9.1 urllib3-1.22 w3lib-1.18.0 wcwidth-0.1.7 wheel-0.30.0 zope.interface-4.4.3
Frustratingly, the error persists. This Python thing is driving me crazy. I guess I should not complain (free0, but the Python library manager could use an update. It simultaneously insists that a feature is installed and that it cannot find it.
Bernhard Boser

d4ß
Posts: 6
Joined: Thu Sep 28, 2017 10:19 am

Re: mu editor for micropython

Post by d4ß » Tue Feb 13, 2018 8:14 pm

Hello,
today I saw at Adafruits website some article about using Mu Editor with there CircuitPython.
So I remembered this threat and want to ask if this actually means I can use Mu Editor now also for ESP8266's flashed with real MicroPython (like a NodeMCU Board for ~3€). That would be enormous useful, because I made good experiences with Micro:Bit and Mu Editor.
Currently ESPlorer.jar is the only other Editor+Flasher that works for me, but Mu Editor I would appreciate much more to utilize.
When I tested this combination today it failed... (Ubuntu 16.04, NodeMCU (ESP8266-12E), MicroPython v1.9.1, Mu 1.0.0.beta.14)
Saying "Could not find an attached Adafruit CircuitPython device."
Maybe somebody has some advice how I can fix this issue?
Or is there something totally different in CircuitPython, that is missed in MicroPython, to let them communicate?
Much Thanks!

bmwtcu
Posts: 1
Joined: Wed Jan 30, 2019 12:11 am

Re: mu editor for micropython

Post by bmwtcu » Wed Jan 30, 2019 12:16 am

[quote=ttmetro post_id=23235 time=1510714311 user_id=3054]
Frustratingly, the error persists. This Python thing is driving me crazy. I guess I should not complain (free0, but the Python library manager could use an update. It simultaneously insists that a feature is installed and that it cannot find it.
[/quote]

Hi Bernhard, did you ever figure this out? I am experiencing the same issue, thanks.

User avatar
Werner_G
Posts: 17
Joined: Fri Sep 13, 2019 8:15 am
Location: Dortmund / Germany

Re: mu editor for micropython

Post by Werner_G » Fri Sep 13, 2019 8:30 am

I am a beginner with MicroPhyton and looking for a easy-to-use Editor or tool chain. I would like to start with Mu and ESP32 (a LOLIN D32-Board), but I have the same problem like 'd4ß' is reporting here:
[quote]
Could not find an attached Adafruit CircuitPython device
[/quote]
Does anyone has a solution for this? Do I have to install CircuitPython which is impossible on a LOLIN-board I fear.


[quote=d4ß post_id=25434 time=1518552895 user_id=3246]
Hello,
today I saw at Adafruits website some article about using Mu Editor with there CircuitPython.
So I remembered this threat and want to ask if this actually means I can use Mu Editor now also for ESP8266's flashed with real MicroPython (like a NodeMCU Board for ~3€). That would be enormous useful, because I made good experiences with Micro:Bit and Mu Editor.
Currently ESPlorer.jar is the only other Editor+Flasher that works for me, but Mu Editor I would appreciate much more to utilize.
When I tested this combination today it failed... (Ubuntu 16.04, NodeMCU (ESP8266-12E), MicroPython v1.9.1, Mu 1.0.0.beta.14)
Saying "Could not find an attached Adafruit CircuitPython device."
Maybe somebody has some advice how I can fix this issue?
Or is there something totally different in CircuitPython, that is missed in MicroPython, to let them communicate?
Much Thanks!
[/quote]

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: mu editor for micropython

Post by jimmo » Fri Sep 13, 2019 12:12 pm

Werner_G wrote:
Fri Sep 13, 2019 8:30 am
Does anyone has a solution for this? Do I have to install CircuitPython which is impossible on a LOLIN-board I fear.
Hi,

Are you using the latest version of Mu? Have you switched it into "ESP MicroPython" mode? (Click the "Mode" button in the top left).

I just tested my ESP32 with Mu and it seems to work fine.

User avatar
Werner_G
Posts: 17
Joined: Fri Sep 13, 2019 8:15 am
Location: Dortmund / Germany

Re: mu editor for micropython

Post by Werner_G » Fri Sep 13, 2019 7:04 pm

Thanks - it works fine with v1.1.0.Alpha.2! Really a good editor!

uCTRL
Posts: 47
Joined: Fri Oct 12, 2018 11:50 pm

Re: mu editor for micropython

Post by uCTRL » Fri Sep 13, 2019 11:56 pm

Auto serial port detection on Windows 7 appears to select first detected port even if it is used with other connection.

I don't see any configuration options to select and configure serial port?

Post Reply