aboutcode-org / aboutcode-org/scancode-toolkit
'scancode' is not recognized as an internal or external command, on Win 10 and Python 3.9
Open
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
Assessment
This issue has not been assessed yet.