What happened?
Hi
I'm trying to install CCE as per the website (pip install.. ) and am getting this error:
Building wheels for collected packages: py-rust-stemmers
Building wheel for py-rust-stemmers (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for py-rust-stemmers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
Python reports SOABI: cp314-win_amd64
Computed rustc target triple: x86_64-pc-windows-msvc
Installation directory: C:\Users\xxx\AppData\Local\puccinialin\puccinialin\Cache
Rustup already downloaded
Installing rust to C:\Users\xxx\AppData\Local\puccinialin\puccinialin\Cache\rustup
warn: It looks like you have an existing rustup settings file at:
warn: C:\Users\xxx\AppData\Local\puccinialin\puccinialin\Cache\rustup\settings.toml
warn: Rustup will install the default toolchain as specified in the settings file,
warn: instead of the one inferred from the default host triple.
warn: installing msvc toolchain without its prerequisites
info: profile set to minimal
info: setting default host triple to x86_64-pc-windows-msvc
warn: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for stable-x86_64-pc-windows-msvc
info: default toolchain set to stable-x86_64-pc-windows-msvc
Checking if cargo is installed
cargo 1.95.0 (f2d3ce0bd 2026-03-21)
Rust not found, installing into a temporary directory
Running `maturin pep517 build-wheel -i C:\Users\xxx\.vfox\cache\python\v-3.14.4\python-3.14.4\python.exe --compatibility off`
📦 Including license file `LICENSE`
🔗 Found pyo3 bindings
ðŸ\x90\x8d Found CPython 3.14 at C:\Users\xxx\.vfox\cache\python\v-3.14.4\python-3.14.4\python.exe
Compiling target-lexicon v0.12.16
Compiling proc-macro2 v1.0.93
Compiling unicode-ident v1.0.17
Compiling autocfg v1.4.0
Compiling once_cell v1.20.3
Compiling windows_x86_64_msvc v0.52.6
Compiling crossbeam-utils v0.8.21
Compiling syn v1.0.109
Compiling libc v0.2.169
Compiling parking_lot_core v0.9.10
Compiling rayon-core v1.12.1
Compiling smallvec v1.14.0
Compiling serde v1.0.217
Compiling cfg-if v1.0.0
error: linker `link.exe` not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option
note: VS Code is a different product, and is not sufficient
error: could not compile `windows_x86_64_msvc` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `proc-macro2` (build script) due to 1 previous error
error: could not compile `rayon-core` (build script) due to 1 previous error
error: could not compile `crossbeam-utils` (build script) due to 1 previous error
error: could not compile `parking_lot_core` (build script) due to 1 previous error
error: could not compile `target-lexicon` (build script) due to 1 previous error
error: could not compile `syn` (build script) due to 1 previous error
error: could not compile `libc` (build script) due to 1 previous error
error: could not compile `serde` (build script) due to 1 previous error
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit code: 101": `"cargo" "rustc" "--profile" "release" "--message-format" "json-render-diagnostics" "--manifest-path" "C:\\Users\\xxx\\AppData\\Local\\Temp\\pip-install-n98x021n\\py-rust-stemmers_a5f947cd2fbc4b1e91db8ff1f3a10139\\Cargo.toml" "--lib"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\xxx\\.vfox\\cache\\python\\v-3.14.4\\python-3.14.4\\python.exe', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for py-rust-stemmers
Failed to build py-rust-stemmers
Suffice to say that I have no plans to install visual studio as a dependancy.
What did you expect?
this is a massive list of things that are installed as dependancies - as far as supply chain goes, visual studio is probably the least of my concerns. Having said that, I don't know what py-rust-stemmers is used for, but if it is used for indexing rust code.. maybe there should be an option to be able to select which languages I want to use this with and then only install those dependancies?
Steps to reproduce
pip install code-context-engine
without visual studio installed.
Relevant logs or error output
Python version
3.14.4
OS
Windows 11
CCE version
n/a
What happened?
Hi
I'm trying to install CCE as per the website (pip install.. ) and am getting this error:
Suffice to say that I have no plans to install visual studio as a dependancy.
What did you expect?
this is a massive list of things that are installed as dependancies - as far as supply chain goes, visual studio is probably the least of my concerns. Having said that, I don't know what py-rust-stemmers is used for, but if it is used for indexing rust code.. maybe there should be an option to be able to select which languages I want to use this with and then only install those dependancies?
Steps to reproduce
pip install code-context-engine
without visual studio installed.
Relevant logs or error output
Python version
3.14.4
OS
Windows 11
CCE version
n/a