Skip to content

Python 3.13 is unsupported #1539

Open
@martimlobao

Description

@martimlobao

Describe the bug

Python 3.13 does not seem to be supported by open-interpreter. Python 3.12 runs as expected.

Reproduce

❯ uvx --from open-interpreter --python 3.13 interpreter
  × Failed to download and build `tiktoken==0.7.0`
  ╰─▶ Build backend failed to build wheel through `build_wheel` (exit status: 1)

      ...

        --- 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 -- -C 'link-args=-undefined dynamic_lookup
      -Wl,-install_name,@rpath/_tiktoken.cpython-313-darwin.so'` failed with code 101

  help: `tiktoken` (v0.7.0) was included because `open-interpreter` (v0.4.3) depends on `tiktoken`

Expected behavior

Running open-interpreter using uvx should work as expected. Instead, uv fails to build open-interpreter. Note that Python 3.12 works normally: uvx --from open-interpreter --python 3.12 interpreter

Screenshots

No response

Open Interpreter version

n/a

Python version

3.13

Operating System name and version

macOS 15.1.1

Additional context

Restricting the python version here to >=3.9,<3.13 should resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions