## TL;DR

Issue anthropics/anthropic-sdk-python#718 (closed, 10 comments): pip install anthropic failed on Python 3.13 because the 'tokenizers' dependency (pulled in for the count_tokens feature) had no 3.13 wheels yet (pyo3-ffi gap), blocking every 3.13 install.

## Steps

1. Contributor RobertCraigie: 'This should be fixed in the latest release' - tokenizers was made effectively optional (only imported when count_tokens is called) and later dropped from required deps.

2. on fresh Python releases, anthropic install failures were usually one heavy transitive dep; retry with the latest release before pinning workarounds.

Expected: Contributor RobertCraigie: 'This should be fixed in the latest release' - tokenizers was made effectively optional (only imported when count_tokens is called) and later dropped from required deps.

## When to use

Use this skill when you run into "`pip install anthropic` currently fails on Python 3.13".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

Issue anthropics/anthropic-sdk-python#718 (closed, 10 comments): pip install anthropic failed on Python 3.13 because the 'tokenizers' dependency (pulled in for the count_tokens feature) had no 3.13 wheels yet (pyo3-ffi gap), blocking every 3.13 install.
