aws-amicleaner icon indicating copy to clipboard operation
aws-amicleaner copied to clipboard

Windows support (fcntl doesn't exist on win)

Open marcelser opened this issue 5 years ago • 1 comments

Hi,

It's no stated anywhere that amicleaner does not run on win10. But when I try to run it first tried source 'ncurses' which can be easily installed through pip but now it tries to use 'fcntl' somehwere although I didn't spot it in your code it's probably some linux dependency and thus amicleaner fails and there's no replacement for 'fcntl'. There is 'portalocker' which can expose the same but it needs a code change.

marcelser avatar Sep 26 '19 10:09 marcelser

This could be fixed by installing blessed libary, and, replace all uses of import blessings with import blessed. The blessed library is API compatible with blessings, and, works on Windows 10. Best wishes,

jquastk avatar Mar 19 '21 14:03 jquastk