aboutcode-org / aboutcode-org/scancode-toolkit

Many scancode dependencies are broken for Mac M1

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

描述

### Description
This is not necessarily a bug with Scancode, but a handful of the required dependencies are broken and cannot install on Mac M1 platform. This is a huge blocker for anyone using this platform as it is impossible to install scancode using pip. Perhaps the scancode docs should be updated to note that scancode is not usable on this platform?

### How To Reproduce
Try to install scancode on Mac M1 computer. In my case, I am running Ubunutu VM using fusion but the same issues arise when I try to install scancode directly on my mac shell (not in a fusion VM).
```
(ternenv) rose@rose-vm:~/ternenv/tern$ pip install --upgrade pip setuptools wheel
(ternenv) rose@rose-vm:~/ternenv/tern$ pip install scancode-toolkit
```

Specific libraries with issues installing:
bitarray intbitset lxml pyahocorasick pycryptodome cffi

### System configuration

* What OS are you running on?
MacOS Monteray 12.2.1 (M1 chip)

* What version of scancode-toolkit was used to generate the scan file?
Attempting to install scancode_toolkit-31.2.4-cp310-none-any.whl

* What installation method was used to install/run scancode? (pip/source download/other)
pip

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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