WD-Passport-Unlock-Linux icon indicating copy to clipboard operation
WD-Passport-Unlock-Linux copied to clipboard

Step 5 returning "no such file or directory"

Open jatk111 opened this issue 4 years ago • 3 comments

when entering the last part of step 5 which is '.cookpw.py PASSWORD >password.bin" im getting back this line "/usr/bin/env: ‘python’: No such file or directory" Any idea what it could be?

jatk111 avatar Aug 22 '20 02:08 jatk111

@jatk111 Are you running Linux OS?

tsadarsh avatar Dec 19 '20 08:12 tsadarsh

Do you have python installed? Seems that you need the executable.

WesternGun avatar Apr 04 '21 19:04 WesternGun

I'm going to assume your on a UNIX-like platform a la MacOS, Linux, BSD, etc., you have python installed, and you have access to the command line.

cd into the directory where you either did a git clone or extracted the zip and run the below: ./cookpw.py PASSWORD > password.bin

The difference is that you were referencing .cookpw.py which would be a file named such, while using ./ or ../ denotes the position on the file system, with ./ being the current directory and ../ being the parent directory.

An alternative would be to reference the absolute path to the file, such as; /path/to/cookpw.py PASSWORD > password.bin With /path/to/ being something like /home/someuser/Downloads/ and so on...

I hope this helps answer your issue.

konstantine-v avatar Jul 01 '21 17:07 konstantine-v