jczic / MicroWebSrv

A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
https://github.com/jczic/MicroWebSrv
MIT License
639 stars 115 forks source link

ImportError: cannot import name dupterm #9

Closed BoKKeR closed 6 years ago

BoKKeR commented 6 years ago

ImportError: cannot import name dupterm

am I doing something wrong ? I am using the boot from the package

jczic commented 6 years ago

Hi, Do not use the boot.py if you are not on a Pycom module and tell me if that's works.

BoKKeR commented 6 years ago

Managed to get it work. Another problem was that the main.py used by default webPath="/flash/www" instead of webPath="/www" for the esp32. After changing that hidden argument it just worked. Thanks for the help

jczic commented 6 years ago

Yep, /flash is for pycom :) It's cool if all works for you 👍