Skip to content

Running uv sync fails. Can't find Rust compiler when trying to install tiktoken. #7

Description

@quiaro

I downloaded the latest from the repo and tried setting it up using uv.
When I ran uv sync, I got an error related to the tiktoken package.
In the stack trace, I found: error: can't find Rust compiler.

FIX:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Refreshed the shell session
  • Ran uv sync again.

The tiktoken package was built and installed successfully.

SO Reference

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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