ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.35k stars 1.49k forks source link

Workaround for missing `pwd` module on Windows #637

Closed imshvc closed 8 months ago

imshvc commented 1 year ago

Windows platforms do not ship the pwd module.

This solves:

ModuleNotFoundError: No module named 'pwd'

Code snippet was sourced from here: (stackoverflow.com)

imshvc commented 11 months ago

Any updates on merging this or #632. Each installation requires this patch to work on Windows.

nmantani commented 11 months ago

I opened PR #577 in November 2021 to fix the same issue, and it has been ignored.

imshvc commented 11 months ago

I opened PR #577 in November 2021 to fix the same issue, and it has been ignored.

That's crazy.. The fix is simple but having to apply the patch each time becomes exhausting. I guess I'll git clone my own branch for now as I don't think this will gain any traction, as can be seen by your PR too.