Skip to content

Commit de5e449

Browse files
authored
Merge pull request #6 from nzw0301/add-uv-tool
Add uv tool install
2 parents a4ab6d6 + 3492409 commit de5e449

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The issue arises because the currently distributed sentencepiece package on PyPI
1919
As a result, attempting to install sentencepiece as a dependency for this CLI tool package would cause build errors.
2020

2121
However, the latest commit in the main branch of the sentencepiece GitHub repository now supports Python 3.13 and CMake 4.0 or higher (though no release has yet been made).
22-
Therefore, when installing sentencepiece in a Python 3.13 environment, you must first install sentencepiece directly from the GitHub repository.
22+
Therefore, when installing sentencepiece in a Python 3.13 environment, you must first install sentencepiece directly from the GitHub repository.
2323
**This step will likely be unnecessary once the next version of sentencepiece is released.**
2424

2525
```sh
@@ -34,6 +34,14 @@ pip install plamo-translate
3434
pip install plamo-translate
3535
```
3636

37+
#### [`uv tool`](https://docs.astral.sh/uv/concepts/tools/)
38+
39+
If you use [`uv`](https://github.com/astral-sh/uv) as a package manager rather than `pip`, you can install `plamo-translate` into an isolated environment:
40+
41+
```sh
42+
uv tool install -p 3.12 plamo-translate
43+
```
44+
3745
## Development
3846

3947
```sh

0 commit comments

Comments
 (0)