aboutcode-org / aboutcode-org/scancode-toolkit

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

Aperta
#3,106 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.