Skip to content

Can't execute gist.py #1

@clwen

Description

@clwen

Hi there,

I've downloaded the code and replace the img_path to my own image. However, it gives me an error that:
NameError: global name 'img' is not defined

Apparently it's because img has been commented out in the test function. And I saw that the first argument in gist function is image_path so I changed print gist(img) function call to print gist(img_path) but it still give me an error at line items *= arr.shape[ax]: IndexError: tuple index out of range. I've attached the stack trace as image.

I'm kind of stucked here. Any thought?

Thank you very much for the great library BTW.

screen shot 2013-09-06 at 11 11 09 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions