aboutcode-org / aboutcode-org/scancode-toolkit

pip installation fails on Windows 11 with Python 3.11

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

Description

### Description

When installing `scancode-toolkit` via pip (Python 3.11 on Windows 11), the installations fails with the error code

error: coud not create 'build\bdist.win-amd64\wheel\.\licensedcode\data\rules\epl-1.0_or_lgpl-2.1-plus_or_agpl-2.0-plus_or_agpl-3.0-plus_or_bsd-new_or_mit_1.RULE': No such file or directory

A wild guess: Maybe it is Python 3.11?

### How To Reproduce

> Tell us how to reproduce the issue.

python3.11 -m pip install scancode-toolkit

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? (Windows/MacOS/Linux) **Windows 11, Python 3.11**
* What version of scancode-toolkit was used to generate the scan file? **31.2.4**
* What installation method was used to install/run scancode? (pip/source download/other) **pip**

Thanks for looking into this issue!

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.