camelot-dev / camelot-dev/excalibur

get errors by pip install on Win11

Open
#197 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Can not build successfully by using `pip install`

```
Collecting excalibur
Using cached excalibur-1.0.9-py3-none-any.whl
Collecting pycrypto (from excalibur)
Using cached pycrypto-2.6.1.tar.gz (446 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyyaml (from excalibur)
Using cached PyYAML-6.0.2-cp311-cp311-win_amd64.whl.metadata (2.1 kB)
Using cached PyYAML-6.0.2-cp311-cp311-win_amd64.whl (161 kB)
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pycrypto (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycrypto
Failed to build pycrypto
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pycrypto)
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `pip install excalibur` failure on Windows 11 and inspect the `pycrypto` wheel-build output, especially the Microsoft Visual C++ requirement. Done means installation completes successfully without the reported wheel-building error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.