can't load pysense library
i updated pysense firmware and uploaded the libraries to the lib folder.
When importing the pysense library i get the error:
>>> from pysense import Pysense Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/flash/lib/pysense.py", line 5, in <module> TypeError: cannot create 'module' instances
pycoproc.pyat the same level as
pysense.pydoes not help (i then get
no module named 'pycoproc.Pycoproc')
Any idea what i'm doing wrong?
I'm glad it works, the documentation is off in a lot of places.
I read the docs here: https://docs.pycom.io/chapter/pytrackpysense/installation/libraries.html and created a lib folder inside my project - so in the end the stuff was placed in /flash/lib where the documentation says /lib so reading carefully helps.
I now have everything in /flash as you suggested and that works.