webrepl icon indicating copy to clipboard operation
webrepl copied to clipboard

Problem with import after splitting of the module

Open gampam2000 opened this issue 7 years ago • 0 comments

hello, i just upgraded to the latest version, but now I can't get it eunning. If i try import uhttpd I get an error. I guess the problem is that the main module is now called init.py?

os.listdir() ['boot.py', 'webrepl_cfg.py', 'api_handler.mpy', 'file_handler.mpy', 'init.mpy', 'ulog.mpy', 'www']

import uhttpd Traceback (most recent call last): File "", line 1, in ImportError: no module named 'uhttpd'

I have coss compiled everything with mpy-cross. How do I install this splitted module correctly? Best regards!

gampam2000 avatar Dec 15 '17 14:12 gampam2000