aisk / pick

create curses based interactive selection list in the terminal
MIT License
722 stars 61 forks source link

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

Closed chud37 closed 1 year ago

chud37 commented 1 year ago

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.

wong2 commented 1 year ago

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