Closed
Description
When I replace the service.py with the following code and try to test skimage with a simple imread,
Lambda returns:
Unable to import module 'service': No module named PIL
# -*- coding: utf-8 -*-
from skimage import io
import urllib
def handler(event, context):
urllib.urlretrieve("http://image.pbs.org/video-assets/pbs/operation-wild/177014/images/mezzanine_928.jpg.focalcrop.767x431.50.10.jpg", "/tmp/hi.jpg")
img = io.imread('/tmp/hi.jpg')
return 0
Are there any working code examples with skimage and the package together?
Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels