aboutcode-org / aboutcode-org/scancode-toolkit

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

Offen
#3,106 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.