scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

'scancode' is not recognized as an internal or external command, on Win 10 and Python 3.9

Open StefanOid opened this issue 2 years ago • 0 comments

Hello, Apologies if the bug isn't labeled correctly. I have installed Scancode via pip3. When i run pip3 list it's in the list of packages. I am using a simple command to run the scanner in the sample folder. def run_scancode(): print('starting scan') os.system('scancode -l --csv new.csv /samples') print('ended scan')

run_scancode();

The error in the console is: 'scancode' is not recognized as an internal or external command, operable program or batch file.

Any advice please? is it the os command?

StefanOid avatar Sep 15 '22 10:09 StefanOid