Describe the bug
The build fails because PyO3 v0.20.3, a dependency used by tiktoken, supports Python versions only up to 3.12. Your system uses Python 3.13, which is newer than PyO3’s maximum supported version.
Key Message Excerpt: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
Running C:\Users\austi\AppData\Local\Temp\pip-install-2_q0eb33\tiktoken_da6f727c7cde4585897f623d26304160\target\release\build\pyo3-ffi-c12d1413c63cd310\build-script-build
error: failed to run custom build command for pyo3-ffi v0.20.3
Caused by:
process didn't exit successfully: `C:\Users\austi\AppData\Local\Temp\pip-install-2_q0eb33\tiktoken_da6f727c7cde4585897f623d26304160\target\release\build\pyo3-ffi-c12d1413c63cd310\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=PYO3_CROSS
cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY
--- stderr
error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.20.3
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
warning: build failed, waiting for other jobs to finish...
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiktoken
Failed to build tiktoken
[notice] A new release of pip is available: 24.3.1 -> 25.2
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tiktoken)
Reproduce
- Update to Python 3.13.2
- Install via pip:
pip install open-interpreter
Expected behavior
Pip installation completed successfully
Screenshots
Open Interpreter version
default
Python version
3.13.2
Operating System name and version
Windows 11
Additional context
No response
Describe the bug
The build fails because PyO3 v0.20.3, a dependency used by tiktoken, supports Python versions only up to 3.12. Your system uses Python 3.13, which is newer than PyO3’s maximum supported version.
Key Message Excerpt: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
Running
C:\Users\austi\AppData\Local\Temp\pip-install-2_q0eb33\tiktoken_da6f727c7cde4585897f623d26304160\target\release\build\pyo3-ffi-c12d1413c63cd310\build-script-builderror: failed to run custom build command for
pyo3-ffi v0.20.3note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiktoken
Failed to build tiktoken
[notice] A new release of pip is available: 24.3.1 -> 25.2
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tiktoken)
Reproduce
pip install open-interpreterExpected behavior
Pip installation completed successfully
Screenshots
Open Interpreter version
default
Python version
3.13.2
Operating System name and version
Windows 11
Additional context
No response