That's right -- PyPI package named "serial" shadows Python module "serial", which is supposed to come with PyPI package "pyserial".SunWukong wrote: ↑Sun Dec 12, 2021 12:59 amI think Thonny needs pyserial and serial is something else.Code: Select all
pip3 install pyserial
Search found 171 matches
- Tue Dec 14, 2021 4:11 pm
- Forum: ESP32 boards
- Topic: Thonny install.
- Replies: 2
- Views: 5627
Re: Thonny install.
- 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.
- 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)
- 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?
- 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
See https://github.com/thonny/thonny/issues/1986 for discussion
- 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.
Found a similar report: https://github.com/Rapptz/discord.py/is ... -636365993 which hints that Windows update may help.
- Tue Aug 10, 2021 6:16 pm
- Forum: General Discussion and Questions
- Topic: error when installing a library from thonny "manage packages"
- Replies: 4
- Views: 2224
Re: error when installing a library from thonny "manage packages"
In this case try upgrading Thonny.
- Tue Aug 10, 2021 10:40 am
- Forum: General Discussion and Questions
- Topic: error when installing a library from thonny "manage packages"
- Replies: 4
- Views: 2224
Re: error when installing a library from thonny "manage packages"
Which Thonny version are you using?
- Sun Aug 01, 2021 12:56 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no attribu
- Replies: 10
- Views: 5672
Re: AttributeError: 'RTC' object has no attribute 'init' WARNING: Could not sync device's clock: 'RTC' object has no att
It comes back on Sundays
I'll notify Raspberry's people about newer versions.
I'll notify Raspberry's people about newer versions.
- 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