Closed ryan-mccaffrey closed 1 year ago
The most likely thing is you haven't installed tiktoken in the environment you're asking mypy to check with. See https://mypy.readthedocs.io/en/stable/running_mypy.html#cannot-find-implementation-or-library-stub
If it was a problem with tiktoken, you'd see something like https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker instead.
I noticed that this was supposed to be solved with the
0.1.4
release but I'm still consistently running into this issue when trying to type code that relies on tiktoken version0.4.0
.