Problem with import after splitting of the module
gampam2000 opened this issue · 0 comments
gampam2000 commented
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!