Skip to content

wheels for ARM64 Linux #23

@dalberto

Description

@dalberto

When attempting to install tiktoken in a the python:3.11-slim Docker container running in Docker for Mac, I get an error about a missing rust compiler( error: can't find Rust compiler...).

I'm not familiar with the Rust toolchain but I believe it should be possible to compile for aarch64 by add the following:

rustup target add aarch64-unknown-linux-gnu in pyproject.toml.

As a workaround, I'm just building from source, but it'd be super nice to have pre-built wheels.

My workaround:

export PATH="/root/.cargo/bin:$PATH"
apt-get update && apt-get install -y --no-install-recommends curl gcc &&  curl https://sh.rustup.rs -sSf | sh -s -- -y && apt-get install --reinstall libc6-dev -y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions