Python and mBot 2 (Neo)


#1

Hi tech_support,

I would like to upload and run python programs locally for the mBot 2 (Cyberpi).

Example:

Blockquote

generated by mBlock5 for CyberPi

codes make you happy

import event, time, cyberpi

@event.start
def on_start():
cyberpi.display.show_label(‘Can not started by Python’, 12, int(0), int(0), index = 0)

Blockquote

I get the message:

grafik

But it is not possible to install it:

grafik

Question: does this require mLink2 to be installed on the Windows 10 PC?

This does not work either:

In the firewall, mLink is allowed:

grafik

When I try to start mLink, I get the following message:

grafik

What can I do?

phg1

Translated with www.DeepL.com/Translator (free version)