Azure-Samples / Custom-vision-service-iot-edge-raspberry-pi

Sample showing how to deploy a AI model from the Custom Vision service to a Raspberry Pi 3 device using Azure IoT Edge
MIT License
186 stars 135 forks source link

build and push flask pip install error #70

Closed nexusfidelity closed 4 years ago

nexusfidelity commented 4 years ago

I tried to use my exported custom vision file and followed this guide https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-deploy-custom-vision#prerequisites

  1. the export zip did not generate azureml folder
  2. docker file declares pip install flask

Log when build and push { Looking in indexes: https://www.piwheels.org/simple Collecting flask Downloading https://www.piwheels.org/simple/flask/Flask-1.1.2-py2.py3-none-any.whl (94 kB) ERROR: Could not find a version that satisfies the requirement pillow (from versions: none) ERROR: No matching distribution found for pillow The command '/bin/sh -c pip install flask pillow --index-url 'https://www.piwheels.org/simple'' returned a non-zero code: 1 }

I build and pushed it anyway and deployed in iot edge. camcapture and classifier are deployed but no report from device. device reports edgeagent and edgehub. Im guessing this error is the reason my modules aren't showing in my raspi