Skip to content

Commit 2d2f0dd

Browse files
committed
Add pyenv instructions
1 parent 149d212 commit 2d2f0dd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,21 @@ Some of the build utilities are written in Python. To use them, you have to crea
3232
and install the dependencies.
3333

3434
E.g. with [pyenv](https://github.com/pyenv/pyenv) and [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv):
35+
3536
```bash
3637
pyenv install 3.7.13
3738
pyenv virtualenv 3.7.13 ldbc_datagen_tools
3839
pyenv local ldbc_datagen_tools
3940
pip install -U pip
4041
pip install ./tools
4142
```
43+
44+
If the enviroment already exists, activate it with:
45+
46+
```bash
47+
pyenv activate
48+
```
49+
4250
### Running locally
4351

4452
The `./tools/run.py` script is intended for **local runs**. To use it, download and extract Spark as follows.

0 commit comments

Comments
 (0)