Skip to content

Commit ef17a76

Browse files
committed
update pip install
1 parent 69c3963 commit ef17a76

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,26 @@ Special thanks to the creators and contributors of [gemma.cpp](https://github.co
1111

1212

1313
## 🛠 Installation
14+
`Prerequisites`: Ensure Python 3.8+ and pip are installed.
1415

16+
### Install from PyPI
17+
For a quick setup, install directly from PyPI:
18+
```bash
19+
pip install pygemma==0.1.0
20+
```
21+
22+
### For Developers: Install from Source
23+
To install the latest version or for development purposes:
24+
25+
1. Clone the repo and enter the directory:
1526
```bash
1627
git clone https://github.com/namtranase/gemma-cpp-python.git
17-
git submodule update --init --recursive
18-
pip install -r requirements.txt
19-
pip install .
28+
cd gemma-cpp-python
29+
```
30+
31+
2. Install Python dependencies and pygemma:
32+
```bash
33+
pip install -r requirements.txt && pip install .
2034
```
2135

2236
## 🖥 Usage
@@ -29,8 +43,6 @@ import pygemma
2943
pygemma.show_help()
3044
```
3145

32-
33-
3446
## 🤝 Contributing
3547
Contributions are welcome. Please clone the repository, push your changes to a new branch, and submit a pull request.
3648

0 commit comments

Comments
 (0)