aboutcode-org / aboutcode-org/scancode-toolkit

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

未關閉
#3,106 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。