husbzb-firmware icon indicating copy to clipboard operation
husbzb-firmware copied to clipboard

/usr/bin/env: 'python': No suck file or directory

Open Tical84 opened this issue 2 years ago • 5 comments

After following all of the steps down to running ./ncp.py scan I get this error message. I'm trying as root, installed all prerequisite dependencies from what I can tell. I also found an alternate ncp.py file on another site and gave that a try and got "permission denied" so I went back to the included one.

I'm new on Linux, but can work my way through most things.

Tical84 avatar Jul 26 '23 02:07 Tical84

Same issue for me as well...

root@Deb11:~# ./ncp.py scan bash: ./ncp.py: Permission denied

stamandr avatar Aug 01 '23 18:08 stamandr

Use sudo then the user dont have access to the comports like the root is having or adding the rights tithe user.

MattWestb avatar Aug 01 '23 19:08 MattWestb

I'm already logged on as root root@Deb11

stamandr avatar Aug 02 '23 15:08 stamandr

For some reason you have not exec rights on the file ./ncp.py perhaps no execute flag sett on it ?

MattWestb avatar Aug 02 '23 15:08 MattWestb

Had the same issue. I needed to add a sym link,

sudo ln -s /usr/bin/python3 /usr/bin/python

shilllabs avatar Nov 25 '23 02:11 shilllabs