aboutcode-org / aboutcode-org/scancode-toolkit

Windows first run fails with Unsupported OS/platform 'win64'

未关闭
#2,223 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

Installed Python 3.6 and put on my path. Ran scancode the first time and it errors out.

### How To Reproduce

Unzip and run scancode:

```
* Configuring ScanCode for first use...
Python 3.6.8
C:\Users\daveb\AppData\Local\Programs\Python\Python36-32\python.exe
Junction created for C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\bin <<===>> C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\Scripts
Unsupported OS/platform 'win64'.
See https://github.com/nexB/scancode-toolkit/ for supported OS/platforms.
Enter a ticket https://github.com/nexB/scancode-toolkit/issues asking for support of your OS/platform combo.
Traceback (most recent call last):
File "C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\etc\configure.py", line 574, in
run_scripts(configs, root_dir, configured_python, quiet=quiet)
File "C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\etc\configure.py", line 322, in run_scripts
call(cmd, root_dir)
File "C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\etc\configure.py", line 137, in call
subprocess.check_call(cmd, shell=True, env=dict(os.environ), cwd=root_dir)
File "C:\Python27\lib\subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\bin\python.exe" "C:\Users\daveb\Downloads\scancode-toolkit-3.1.1\etc\conf\base.py"' returned non-zero exit status 1
```

### System configuration

Windows version 10 19042.421
Scancode 3.1.1
Installed with unzip & running scancode from cmd.exe

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。