title: IOT Edge V2 - Deploying and Debugging Python on the Edge Device
body: <p>I've been following the tutorial at <a href="https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-python-module" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-python-module</a></p>
  
  <p>On my development machine, the python lint in Visual Studio Code is reporting the error: E0401:Unable to import 'iothub_client' on main.py.</p>
  
  <p>I wonder if I'm missing a pre-requisite step, or is this just an advisory that can be ignored on the development side of things and it should be ok once deployed - or do I need to fix this error on the development machine first?</p>
  
  <p>I've successfully run the previous tutorial and have tempSensor running. filterSensor seems to terminate and go into a "backoff" state once deployed, with an error of 1. I don't know how I can find out on the Edge-side why it is failing - how do I go about debugging this? Can I see print statement output anywhere, for example?</p>
  
  <p>I'm developing on Mac, and deploying to a Beaglebone running Ubuntu 16.04 LTS.</p>