Missing modules on Linux

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Missing modules on Linux

Post by bmarkus » Sat Aug 08, 2015 10:03 am

Hi

Just built micropython/unix 1.4.4 from source on Linux. In general it works. I tried to import modules listed on http://docs.micropython.org/en/latest/l ... index.html page.

Most of them are ok, but few standard modules not found:

os select struct time

Any ide, why they are missing?

Thanls... Béla
Last edited by bmarkus on Sat Aug 08, 2015 10:59 am, edited 1 time in total.
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Re: Missing modules on Linux

Post by bmarkus » Sat Aug 08, 2015 10:59 am

Found ustruct and utime modules are available...
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Missing modules on Linux

Post by pfalcon » Sat Aug 08, 2015 11:02 am

Unix version provides pretty good subset of Python library via micropython-lib project: http://forum.micropython.org/viewtopic.php?f=15&t=70
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
bmarkus
Posts: 111
Joined: Tue Oct 21, 2014 5:58 am

Re: Missing modules on Linux

Post by bmarkus » Sat Aug 08, 2015 11:36 am

Thanks, will check it

Béla
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

crisdleon17
Posts: 5
Joined: Thu Aug 03, 2017 7:40 pm

Re: Missing modules on Linux

Post by crisdleon17 » Mon Aug 07, 2017 6:31 am

[quote="bmarkus"]Found [b]ustruct[/b] and [b]utime[/b] modules are available...[/quote]

I think i have the same problem you had, how did you make them available? since i also downloaded the whole lib from github, and my code cant get the ustruct module

Post Reply