aboutcode-org / aboutcode-org/scancode-toolkit

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

Open
#3,106 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.