Page 1 of 1

Tools problem

Posted: Thu Jan 27, 2022 10:26 pm
by KJM
I've had a decent run on windows10 using repls like Atom & Thony with ESP32s, but lately I'm feeling a bit stymied. I'd like to try the likes of mpremote, esptool or mpy-cross but they all seem to be linux oriented.

At first I thought I could maybe run them in an Ubuntu VM on windows but the VM can't access the USB to communicate with the ESP32 & re-jigging it to be able to https://devblogs.microsoft.com/commandl ... es-to-wsl/ seems to depend a lot on what you have plugged into the USB.

So then I thought I'd try my luck with a raspberry pi but pip install mpremote failed with a message that no matching distribution could be found at https://www.pinwheels.org/simple. What sort of machine do I need to try the likes of mpremote, esptool or mpy-cross?

Re: Tools problem

Posted: Fri Jan 28, 2022 1:51 am
by scruss
what version of Raspberry Pi OS are you running? Current is better.

Also, depending on the Raspberry Pi OS Desktop you installed, your python may not be Python3. The larger "Raspberry Pi OS with desktop and recommended software" installs the package python-is-python2, which reverts python to Python 2 (for $reasons).

Re: Tools problem

Posted: Fri Jan 28, 2022 5:07 am
by KJM
Yeah buster on the Rpi with it dual versions of python was a bit of nightmare so I'm back on a windows 10 machine, viewtopic.php?f=2&t=11902 any suggestions gratefully accepted.

Re: Tools problem

Posted: Wed Apr 20, 2022 6:28 pm
by PM-TPI
Has anyone installed mpremote on Raspberry Pi with any success ???
I was going to move my production programming to a Raspberry Pi.
Any and all information would be great!!!

Re: Tools problem

Posted: Thu Apr 21, 2022 12:13 am
by scruss
PM-TPI wrote:
Wed Apr 20, 2022 6:28 pm
Has anyone installed mpremote on Raspberry Pi with any success ???
Why wouldn't it work? Has anyone reported lack of success with it?

Try:

Code: Select all

sudo apt install python3-pip
sudo pip3 install mpremote
then follow the thing: mpremote