ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.54k stars 1.51k forks source link

python: can't open file 'C:\Python27\Scripts\binwalk': [Errno 2] No such file or directory #545

Open retr0cube opened 3 years ago

retr0cube commented 3 years ago

Hi !

I installed Binwalk from this repo but every time when i run `binwalk my_file.bin every time I get this error :

python: can't open file 'C:\Python27\Scripts\binwalk': [Errno 2] No such file or directory

Any help is appreciated !

chiffreKing commented 2 years ago

Hi has anyone been able to solve this problem yet?

ek-nath commented 2 years ago

I think, generally speaking, you should upgrade the python interpreter from 2.7 to 3.x. There's a note in the main readme as well.

Shengpy commented 1 year ago

you should open binwalk.py and change the directory where (......\binwalk-master\src\binwalk), then you open ...\binwalk-master\src\binwalk\modules\extractor.py and comment all the line have pwd ( #import pwd ), finally binwalk.py will run easily