pick icon indicating copy to clipboard operation
pick copied to clipboard

ValueError: not enough values to unpack (expected 2, got 1)

Open chud37 opened this issue 2 years ago • 1 comments

This is how im running the command:

option, index = pick(options, title='Batch Processing Helper & Wizards', indicator='=>', multiselect=False) However I get the error in the title (ValueError: not enough values to unpack (expected 2, got 1). I installed it using pip install pick.

When I return one value and print it I get the following: [('\tOpen Input Folder', 0)] (From selecting the first option)

Im running on an M1 mac within Anaconda environment, if that makes any difference.

chud37 avatar Sep 25 '22 18:09 chud37

Hi, can you make sure that you're using pick >=2.0 version? I suspect that you installed an old version

wong2 avatar Sep 26 '22 12:09 wong2