pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

Pytrack - TypeError: cannot create 'module' instances #106

Closed tanmoydutta closed 6 years ago

tanmoydutta commented 6 years ago

/flash/lib/L76GNSS.py /flash/lib/LIS2HH12.py /flash/lib/pytrack.py /flash/lib/mqtt.py /flash/lib/pycoproc/pycoproc.py

  1. Rebooted the LoPy and accessed via the serial console and typed in the following command to get the error -

from pytrack import Pytrack Traceback (most recent call last): File "", line 1, in File "/flash/lib/pytrack.py", line 5, in TypeError: cannot create 'module' instances

tanmoydutta commented 6 years ago

pytrack.py and pycoproc.py needs to reside on the same path level.