Search found 171 matches

by aivarannamaa
Tue Dec 14, 2021 4:11 pm
Forum: ESP32 boards
Topic: Thonny install.
Replies: 2
Views: 5627

Re: Thonny install.

SunWukong wrote:
Sun Dec 12, 2021 12:59 am
I think Thonny needs pyserial and serial is something else.

Code: Select all

pip3 install pyserial
That's right -- PyPI package named "serial" shadows Python module "serial", which is supposed to come with PyPI package "pyserial".
by aivarannamaa
Thu Nov 25, 2021 3:46 pm
Forum: Programs, Libraries and Tools
Topic: How to mark a library as suitable for MicroPython
Replies: 2
Views: 3212

Re: How to mark a library as suitable for MicroPython

Older versions of Thonny only considered distributions without setyp.py to be for MicroPython. Since 3.3.10 it should be able to install bot pip-compatible and upip-compatible distributions.
by aivarannamaa
Fri Nov 12, 2021 1:11 pm
Forum: General Discussion and Questions
Topic: Using ev3 Objects in Modules
Replies: 2
Views: 1109

Re: Using ev3 Objects in Modules

One solution is to pass robot as parameter to your function: Funktionen.move(robot, 200,200,0) # this is the function to be called ... and change the function definition accordingly: def move(robot, weg, speed, winkel): robot.reset() while(robot.distance() < weg): robot.drive(speed,winkel)
by aivarannamaa
Wed Nov 03, 2021 12:02 pm
Forum: Programs, Libraries and Tools
Topic: Using thonny with the Unix port
Replies: 1
Views: 1590

Re: Using thonny with the Unix port

When you open "Run => Select interpreter", do you see "MicroPython (local)" in the dropdown?
by aivarannamaa
Wed Oct 06, 2021 2:07 pm
Forum: Programs, Libraries and Tools
Topic: Loading packages from Thonny
Replies: 8
Views: 7873

Re: Loading packages from Thonny

It looks like for some reason, some instances of Windows haven't updated root certificates so far. In my case I could overcome this by manually installing updated https://letsencrypt.org/certs/lets-encrypt-r3.der

See https://github.com/thonny/thonny/issues/1986 for discussion
by aivarannamaa
Sat Oct 02, 2021 12:45 pm
Forum: Programs, Libraries and Tools
Topic: Loading packages from Thonny
Replies: 8
Views: 7873

Re: Loading packages from Thonny

I could reproduce this only in one of my Windows machines (which has not been updated for a while).

Found a similar report: https://github.com/Rapptz/discord.py/is ... -636365993 which hints that Windows update may help.
by aivarannamaa
Sun Jul 25, 2021 8:37 am
Forum: General Discussion and Questions
Topic: Non-ascii chars of the input get ignored
Replies: 3
Views: 2227

Re: Non-ascii chars of the input get ignored

williamhenrick wrote:
Sat Jul 24, 2021 8:32 am
I think you should file a bug report, it is weird.
I did so: https://github.com/micropython/micropython/issues/7585