python module in django not imported correctly
While trying to use the RPi python module installed on RaspberryPi, using it in one of my request definition in views.py I get
Module not imported correctly!
This is the traceback that I got. Note that I'm using this repo as a starting point.
What would be the right way to install RPi and use it properly in Django ? I need RPi because of my motion sensor, using this tutorial as a starting point for motion but want to integrate it to a django view (page)
While trying to use the RPi python module installed on RaspberryPi, using it in one of my request definition in views.py I get
Module not imported correctly!
This is the traceback that I got. Note that I'm using this repo as a starting point.
What would be the right way to install RPi and use it properly in Django ? I need RPi because of my motion sensor, using this tutorial as a starting point for motion but want to integrate it to a django view (page)
No comments:
Post a Comment