Page 1 of 1

PyCharm installation of MicroPython via Anaconda

Posted: Thu Feb 11, 2021 10:09 am
by extraduce
I am new to micro:bit & even newer to micropython!

I am a regular user of PyCharm which is my preferred IDE so have tried to setup micropython focusing on micro:bit using PyCharm.
My preferred environment manager is Anaconda using which I have set-up python 3.6 environment (as I believe this is currently what microphython uses/based on) I've been following this https://mryslab.github.io/pseudo-microbit/ tutorial installing pseudo-microbit via

Code: Select all

pip
within the

Code: Select all

conda
environment. I have also installed the MicroPython plugin for PyCharm.

I've experienced several issues:

1) on my mac

Code: Select all

site-packages/microbit/
directory doesn't contain

Code: Select all

images.py
. There are probably other files it doesn't contain however I haven't discovered them yet. It could be that I don't understand the work flow and there is now need for this file to exist locally?

2) I have defined uflash as an external tool, within PyCharm. PyCharm seems quite happy and doesn't report errors when flashing. However the micro:bit seems to get partially programmed and then reports with an unhappy face!

All wise/random thoughts gratefully accepted.